aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-06-27 13:41:08 +0200
committerStefan Bühler <stbuehler@web.de>2015-06-27 13:41:08 +0200
commita4f189019a3304f508bcf72d1514fc477b07b28a (patch)
treea3995e26beeceada3786cf443f89a6de333f6dbb
parent88c9f6a2b098f26d53d46e3d5db5dfafc758fdf1 (diff)
downloadfcgi-debug-a4f189019a3304f508bcf72d1514fc477b07b28a.tar.gz
fcgi-debug-a4f189019a3304f508bcf72d1514fc477b07b28a.zip
fix cmake macros to use _target parameter
-rw-r--r--cmake/LighttpdMacros.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/LighttpdMacros.cmake b/cmake/LighttpdMacros.cmake
index 1eac941..45ee552 100644
--- a/cmake/LighttpdMacros.cmake
+++ b/cmake/LighttpdMacros.cmake
@@ -15,7 +15,7 @@ ENDMACRO(ADD_TARGET_PROPERTIES)
MACRO(TARGET_USE_PACKAGE _target _ldirs _libs _lflags _cflags)
LINK_DIRECTORIES(${_ldirs})
- TARGET_LINK_LIBRARIES(fcgi-debug ${_libs})
- ADD_TARGET_PROPERTIES(fcgi-debug LINK_FLAGS "${_lflags}")
- ADD_TARGET_PROPERTIES(fcgi-debug COMPILE_FLAGS ${_cflags})
+ TARGET_LINK_LIBRARIES(${_target} ${_libs})
+ ADD_TARGET_PROPERTIES(${_target} LINK_FLAGS "${_lflags}")
+ ADD_TARGET_PROPERTIES(${_target} COMPILE_FLAGS ${_cflags})
ENDMACRO(TARGET_USE_PACKAGE)