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

Download this file

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)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks