mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fixed BUILD_SHARED_LIBS related build sytem problems on linux. Now working with both on and off.
This commit is contained in:
1 parent
b714882a16
commit
64aea7285d
2 files changed
+1
-3
No files matched your search
@@ -6,7 +6,7 @@ if (MSVC)
|
||||
add_definitions(-DHKS_NT)
|
||||
add_definitions(-DABQ_WIN86_64)
|
||||
else()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -c -fPIC -w -Wno-deprecated")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -w -Wno-deprecated")
|
||||
|
||||
add_definitions(-DTYPENAME=typename)
|
||||
add_definitions(-D_LINUX_SOURCE)
|
||||
|
||||
@@ -84,8 +84,6 @@ if(MSVC)
|
||||
endif()
|
||||
|
||||
else()
|
||||
set(BUILD_SHARED_LIBS ON)
|
||||
set(Boost_USE_STATIC_LIBS OFF)
|
||||
find_package(Boost 1.44.0 COMPONENTS filesystem date_time system regex REQUIRED)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user