Skip to content
Snippets Groups Projects
Commit de3a44b7 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Jakub Klinkovský
Browse files

Fixed cmake RUNPATH error.

parent 3d81c3aa
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,10 @@ else() ...@@ -63,6 +63,10 @@ else()
set( EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/Release/bin ) set( EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/Release/bin )
endif() endif()
# This is to avoid error "file RPATH_CHANGE could not write new RPATH" when
# LIBRARY_OUTPUT_PATH is different from RUNPATH
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
# check if the compiler is good enough # check if the compiler is good enough
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# GCC 5.0 is the first release with full C++11 support (due to libstdc++) # GCC 5.0 is the first release with full C++11 support (due to libstdc++)
......
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