khanat-opennel-code/code/nel/tools/3d/lightmap_optimizer/CMakeLists.txt
2010-05-08 15:37:08 +02:00

12 lines
412 B
CMake

FILE(GLOB SRC *.cpp *.h)
DECORATE_NEL_LIB("nelmisc")
SET(NLMISC_LIB ${LIBNAME})
ADD_EXECUTABLE(lightmap_optimizer ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(lightmap_optimizer ${LIBXML2_LIBRARIES} ${PLATFORM_LINKFLAGS} ${NLMISC_LIB})
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS lightmap_optimizer RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)