Sprout/tools/darkroom/CMakeLists.txt

11 lines
457 B
Text
Raw Normal View History

2013-12-18 08:58:27 +00:00
if( OpenCV_FOUND )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${Boost_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS} )
add_executable( tools_darkroom_texconv texconv.cpp )
target_link_libraries( tools_darkroom_texconv ${OpenCV_LDFLAGS} )
set_target_properties( tools_darkroom_texconv PROPERTIES OUTPUT_NAME "texconv" )
install( TARGETS tools_darkroom_texconv
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
endif( OpenCV_FOUND )