CMakeLists.txt 278 B

123456789101112
  1. set(SOURCE CCModuleTIFF.cpp)
  2. add_library(cocostiff STATIC ${SOURCE})
  3. target_link_libraries(cocostiff tiff cocos2d)
  4. set_target_properties(cocostiff
  5. PROPERTIES
  6. ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
  7. LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
  8. )