fix cmake file.
This commit is contained in:
parent
4e7f4dd636
commit
a3d1353646
@ -92,7 +92,7 @@ ELSE(TIFF_FOUND)
|
|||||||
ENDIF(TIFF_FOUND)
|
ENDIF(TIFF_FOUND)
|
||||||
|
|
||||||
# OpenEXR
|
# OpenEXR
|
||||||
INCLUDE(FindOpenEXR)
|
INCLUDE(${NV_CMAKE_DIR}/FindOpenEXR.cmake)
|
||||||
IF(OPENEXR_FOUND)
|
IF(OPENEXR_FOUND)
|
||||||
SET(HAVE_OPENEXR OPENEXR_FOUND)
|
SET(HAVE_OPENEXR OPENEXR_FOUND)
|
||||||
MESSAGE(STATUS "Looking for OpenEXR - found")
|
MESSAGE(STATUS "Looking for OpenEXR - found")
|
||||||
@ -117,3 +117,5 @@ CHECK_INCLUDE_FILES(malloc.h HAVE_MALLOC_H)
|
|||||||
|
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/nvconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/nvconfig.h)
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/nvconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/nvconfig.h)
|
||||||
|
|
||||||
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/nvconfig.h DESTINATION include)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user