26 lines
470 B
CMake
26 lines
470 B
CMake
|
|
||
|
# IlmImfUtilTest
|
||
|
|
||
|
LINK_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}/../IlmImf )
|
||
|
|
||
|
|
||
|
ADD_EXECUTABLE ( IlmImfUtilTest
|
||
|
main.cpp
|
||
|
testFlatImage.cpp
|
||
|
testDeepImage.cpp
|
||
|
testIO.cpp
|
||
|
)
|
||
|
|
||
|
|
||
|
ADD_TEST ( TestIlmImfUtil IlmImfUtilTest )
|
||
|
TARGET_LINK_LIBRARIES ( IlmImfUtilTest
|
||
|
IlmImfUtil
|
||
|
IlmImf
|
||
|
Half
|
||
|
Iex${ILMBASE_LIBSUFFIX}
|
||
|
Imath${ILMBASE_LIBSUFFIX}
|
||
|
IlmThread${ILMBASE_LIBSUFFIX}
|
||
|
${PTHREAD_LIB} ${ZLIB_LIBRARIES}
|
||
|
)
|
||
|
|