We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0c3dcb commit c618f75Copy full SHA for c618f75
1 file changed
IsoModel/src/CMakeLists.txt
@@ -75,8 +75,6 @@ set(${target_name}_src
75
76
set (library_name isomodel)
77
78
-# OR CMAKE_SYSTEM_NAME STREQUAL "Linux"
79
-
80
if(MSVC)
81
set(Boost_USE_STATIC_LIBS ON)
82
else()
@@ -86,6 +84,9 @@ else()
86
84
FIND_PACKAGE ( Threads REQUIRED )
87
85
endif()
88
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ set(CMAKE_SKIP_RPATH true)
89
+endif()
90
91
find_package(Boost 1.55.0 REQUIRED COMPONENTS system filesystem program_options)
92
include_directories(${Boost_INCLUDE_DIR})
0 commit comments