diff options
Diffstat (limited to 'src/rspamadm/CMakeLists.txt')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index 91e14d749..752e23d8b 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -49,7 +49,9 @@ IF (ENABLE_FANN MATCHES "ON") ENDIF () IF (ENABLE_HYPERSCAN MATCHES "ON") TARGET_LINK_LIBRARIES(rspamadm hs) - SET_TARGET_PROPERTIES(rspamadm PROPERTIES LINKER_LANGUAGE CXX) ENDIF () +IF(USE_CXX_LINKER) + SET_TARGET_PROPERTIES(rspamadm PROPERTIES LINKER_LANGUAGE CXX) +ENDIF() INSTALL(TARGETS rspamadm RUNTIME DESTINATION bin) |