diff options
| author | David Sommerseth <dazo@users.sourceforge.net> | 2009-01-02 17:39:26 +0100 |
|---|---|---|
| committer | David Sommerseth <dazo@users.sourceforge.net> | 2009-01-02 17:39:26 +0100 |
| commit | a2ca4fdf6c6eee2d229c8cb7770f37accd467d93 (patch) | |
| tree | b0bda9e7375b11dd8ec0d18c4bbaf82f424aa12b /plugin | |
| parent | f98f33a9cb5dcace621aa7d850adb506e92ca0ac (diff) | |
| download | eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.gz eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.xz eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.zip | |
Make it possible to compile plug-in again without eurephiadm enabled
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt index 8a1b43f..bf0202d 100644 --- a/plugin/CMakeLists.txt +++ b/plugin/CMakeLists.txt @@ -1,4 +1,4 @@ -PROJECT(eurephia-auth C) +PROJECT(eurephia-plugin C) cmake_minimum_required(VERSION 2.6) SET(eurephia_auth_SRC ../common/certinfo.c @@ -21,6 +21,10 @@ IF(FW_IPTABLES) SET(subdirs firewall/iptables) ENDIF(FW_IPTABLES) +IF(ENABLE_EUREPHIADM) + REMOVE_DEFINITIONS(-DENABLE_EUREPHIADM) +ENDIF(ENABLE_EUREPHIADM) + CHECK_LIBRARY_EXISTS(rt sem_wait "" HAVE_RT_SEM_WAIT) CHECK_LIBRARY_EXISTS(rt sem_timedwait "" HAVE_RT_SEM_TIMEDWAIT) CHECK_LIBRARY_EXISTS(rt sem_post "" HAVE_RT_SEM_POST) |
