Skip to content
Snippets Groups Projects
Commit 8bf72209 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: do not install OpenThreads headers, they are only used internally (ossim, otb::Threads.cxx)

parent f7c9e5d9
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,10 @@ IF(NOT OTB_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR_CM24} COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_LIBRARIES)
IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
#IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
# INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
# DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
# COMPONENT Development)
#ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
#commented out# INCLUDE(ModuleInstall OPTIONAL)
......@@ -41,11 +41,12 @@ IF(NOT OTB_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR_CM24} COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_LIBRARIES)
IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
# OpenThreads headers are not needed by OTB headers, so avoid exporting them
#IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
# INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
# DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
# COMPONENT Development)
#ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
#commented out# INCLUDE(ModuleInstall OPTIONAL)
......@@ -40,11 +40,12 @@ IF(NOT OTB_INSTALL_NO_LIBRARIES)
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR_CM24} COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_LIBRARIES)
IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
COMPONENT Development)
ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
# OpenThreads headers are not needed by OTB headers, so avoid exporting them
#IF(NOT OTB_INSTALL_NO_DEVELOPMENT)
# INSTALL(FILES ${OpenThreads_PUBLIC_HEADERS}
# DESTINATION ${OTB_INSTALL_INCLUDE_DIR_CM24}/Utilities/otbopenthreads/OpenThreads/include/OpenThreads
# COMPONENT Development)
#ENDIF(NOT OTB_INSTALL_NO_DEVELOPMENT)
#commented out# INCLUDE(ModuleInstall OPTIONAL)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment