Commit 72e0c393 authored by Rashad Kanavath's avatar Rashad Kanavath

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

parent b9c1a36e
......@@ -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}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment