From 343fa8f0cbad19402a2533651acc53149be1fcf5 Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Wed, 27 Nov 2013 18:53:28 +0100 Subject: Add a PLATFORM_GNU global variable matching all GNU systems such as Debian's Linux, kFreeBSD and Hurd --- test/unit/ui/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/unit/ui/CMakeLists.txt') diff --git a/test/unit/ui/CMakeLists.txt b/test/unit/ui/CMakeLists.txt index 8086967..503f84b 100644 --- a/test/unit/ui/CMakeLists.txt +++ b/test/unit/ui/CMakeLists.txt @@ -10,8 +10,6 @@ ${CLIPBOARD_INCLUDE_DIR} # Platform-dependent implementation of CSystemUtils if(PLATFORM_WINDOWS) -elseif(PLATFORM_LINUX) - set(ADDITIONAL_LIB "-lX11") elseif(PLATFORM_MACOSX) set(ADDITIONAL_LIB "${X11_X11_LIB}") else() -- cgit v1.2.3-1-g7c22 From 52cf9e2815688481f689e03e67c5fc983ed1351b Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Tue, 24 Jun 2014 17:38:28 +0200 Subject: Fix test compilation --- test/unit/ui/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'test/unit/ui/CMakeLists.txt') diff --git a/test/unit/ui/CMakeLists.txt b/test/unit/ui/CMakeLists.txt index 503f84b..7f7b2f8 100644 --- a/test/unit/ui/CMakeLists.txt +++ b/test/unit/ui/CMakeLists.txt @@ -17,6 +17,7 @@ else() endif() add_executable(edit_test +${SRC_DIR}/app/gamedata.cpp ${SRC_DIR}/app/system.cpp ${SRC_DIR}/app/${SYSTEM_CPP_MODULE} ${SRC_DIR}/app/system_other.cpp -- cgit v1.2.3-1-g7c22