aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-02-22 20:45:46 +0100
committerAdrian Kummerlaender2016-02-22 20:45:46 +0100
commitc67bd1d54e518bb9f4ecef97962100eb41dbac42 (patch)
treee7e4626cf809653878242081f7a5ff9d22eb9419
parentcb4aaed7d4c6ff35428e527cd95ab7d9b76430f6 (diff)
downloadchange-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar.gz
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar.bz2
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar.lz
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar.xz
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.tar.zst
change-c67bd1d54e518bb9f4ecef97962100eb41dbac42.zip
Link `ld.so` via the build system instead of raw compiler flags
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f92c549..91c7500 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ project(ChangeLog)
set(
CMAKE_CXX_FLAGS
- "${CMAKE_CXX_FLAGS} -std=c++14 -W -Wall -Wextra -Winline -ldl -fPIC"
+ "${CMAKE_CXX_FLAGS} -std=c++14 -W -Wall -Wextra -Winline -fPIC"
)
include_directories(
@@ -24,6 +24,7 @@ add_library(
target_link_libraries(
ChangeLog
+ dl
boost_system
boost_filesystem
)