Skip to content
Snippets Groups Projects
Commit 72e0c393 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: donot force --no-undefined (need to be done in OTB)

parent b9c1a36e
No related branches found
No related tags found
No related merge requests found
......@@ -159,11 +159,11 @@ if(MSVC)
endif()
endif()
if(LINUX)
list(APPEND CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
list(APPEND CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined")
list(APPEND CMAKE_EXE_LINKER_FLAGS "-Wl,--no-undefined")
endif()
# if(LINUX)
# list(APPEND CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
# list(APPEND CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined")
# list(APPEND CMAKE_EXE_LINKER_FLAGS "-Wl,--no-undefined")
# endif()
if(DEFINED ENV{CMAKE_PREFIX_PATH})
set(SB_CMAKE_PREFIX_PATH "$ENV{CMAKE_PREFIX_PATH};${SB_INSTALL_PREFIX}")
......
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