2022-04-07 18:46:57 +02:00

27 lines
403 B
CMake

# yue.nicholas@gmail.com
ADD_EXECUTABLE ( exrenvmap
makeLatLongMap.cpp
readInputImage.cpp
resizeImage.cpp
makeCubeMap.cpp
main.cpp
blurImage.cpp
EnvmapImage.cpp
)
TARGET_LINK_LIBRARIES ( exrenvmap
IlmImf
IlmThread${ILMBASE_LIBSUFFIX}
Iex${ILMBASE_LIBSUFFIX}
Half
${PTHREAD_LIB}
${ZLIB_LIBRARIES}
)
INSTALL ( TARGETS
exrenvmap
DESTINATION
${CMAKE_INSTALL_PREFIX}/bin
)