summaryrefslogtreecommitdiff
path: root/scripts/cmake/LighttpdMacros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cmake/LighttpdMacros.cmake')
-rw-r--r--scripts/cmake/LighttpdMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/LighttpdMacros.cmake b/scripts/cmake/LighttpdMacros.cmake
index 4680d10e..2f0558e9 100644
--- a/scripts/cmake/LighttpdMacros.cmake
+++ b/scripts/cmake/LighttpdMacros.cmake
@@ -13,7 +13,7 @@ macro(ADD_AND_INSTALL_LIBRARY LIBNAME SRCFILES)
set(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} ${LIBNAME})
## Windows likes to link it this way back to app!
if(WIN32)
- set_target_properties(${LIBNAME} PROPERTIES LINK_FLAGS lighttpd.lib)
+ target_link_libraries(${LIBNAME} lighttpd)
endif()
if(APPLE)