diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-24 13:40:16 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-24 13:43:19 +0100 |
commit | b04d8934eea126ea7b36cbc567550174fdb138d7 (patch) | |
tree | 422c7303215884caccaebdd43a6a72b1cc7c3508 | |
parent | doc: improve description of CMake option ENABLE_PYTHON3 in user's guide (diff) | |
download | weechat-b04d8934eea126ea7b36cbc567550174fdb138d7.tar.xz weechat-b04d8934eea126ea7b36cbc567550174fdb138d7.zip |
tests: fix style in CMake file
-rw-r--r-- | tests/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0d7ed2b02..6dbdaeace 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -60,8 +60,7 @@ endif() # binary to run tests set(WEECHAT_TESTS_SRC tests.cpp tests.h) add_executable(tests ${WEECHAT_TESTS_SRC}) -set(LIBS - ${LIBS} +target_link_libraries(tests weechat_core weechat_plugins weechat_gui_common @@ -74,9 +73,11 @@ set(LIBS ${CURL_LIBRARIES} ${CPPUTEST_LIBRARIES} -rdynamic) -target_link_libraries(tests ${LIBS}) add_dependencies(tests - weechat_core weechat_plugins weechat_gui_common weechat_gui_headless + weechat_core + weechat_plugins + weechat_gui_common + weechat_gui_headless weechat_ncurses_fake weechat_unit_tests_core) |