From b6327fdf930f896f4c74d23b15b3e0183e932153 Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Sun, 13 Dec 2015 14:23:52 +0100 Subject: [PATCH] CMake: make explicit that libc4script depends on libmisc libc4script uses C4Group, so it has a dependency on libmisc. Make this dependency explicit so all targets that use libc4script also automatically pull in libmisc. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 615daf484..3305198ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1040,6 +1040,8 @@ src/script/C4ValueMap.cpp src/script/C4ValueMap.h ) +target_link_libraries(libc4script libmisc) + add_executable(c4script include/c4script/c4script.h src/script/C4ScriptMain.cpp