Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[1fae15]: v3p / png / tests / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    13 lines (9 with data), 350 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
INCLUDE(${VXL_CMAKE_DIR}/FindPNG.cmake)
INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
IF (UNIX)
LINK_LIBRARIES(m)
ENDIF (UNIX)
ADD_DEFINITIONS(${PNG_DEFINITIONS})
ADD_EXECUTABLE(pngtest pngtest.c)
TARGET_LINK_LIBRARIES(pngtest ${PNG_LIBRARIES})
ADD_TEST(NAME png_test COMMAND ${EXECUTABLE_OUTPUT_PATH}/pngtest ${CMAKE_CURRENT_SOURCE_DIR}/pngtest.png)