mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Fix CMake warnings about RPATH in macOS
This commit is contained in:
parent
532d69ef47
commit
a148fe4425
@ -31,6 +31,13 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)
|
||||
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.0")
|
||||
cmake_policy(SET CMP0042 NEW)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.9")
|
||||
cmake_policy(SET CMP0068 NEW)
|
||||
endif(CMAKE_VERSION VERSION_GREATER_EQUAL "3.9")
|
||||
endif(CMAKE_VERSION VERSION_GREATER_EQUAL "3.0")
|
||||
|
||||
option(ENABLE_STRIP "Create a stripped volk_gnsssdr_profile binary (without shared libraries)" OFF)
|
||||
|
||||
set(PROJECT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) #allows this to be a sub-project
|
||||
@ -84,6 +91,7 @@ if(UNIX)
|
||||
)
|
||||
endif(UNIX)
|
||||
|
||||
|
||||
########################################################################
|
||||
# Dependencies setup
|
||||
########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user