Browse Source

fix cmake macros to use _target parameter

master
Stefan Bühler 6 years ago
parent
commit
a4f189019a
  1. 6
      cmake/LighttpdMacros.cmake

6
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)

Loading…
Cancel
Save