summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-31 16:58:31 -0400
committerAdam <Adam@anope.org>2014-05-31 18:30:50 -0400
commit16e0b72d2dd90bcbcfaea9bb0dc5ee9ed8cd091b (patch)
treed684a801f53fa1a0f81e9dea1e6f40e4bb224e0b /src/CMakeLists.txt
parentb578e3253184993864d4aee2391966fcf3e26659 (diff)
Update FindGettext.cmake for new Windows stuff and fix language.cpp
compile
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index be3f1010f..3a07f7f13 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -86,11 +86,7 @@ if(WIN32)
target_link_libraries(${PROGRAM_NAME} wsock32 Ws2_32 ${LINK_LIBS} ${GETTEXT_LIBRARIES} ${WIN32_MEMORY})
set_target_properties(${PROGRAM_NAME} PROPERTIES VERSION "${VERSION_DOTTED}")
else(WIN32)
- if(GETTEXT_LIBRARIES)
- target_link_libraries(${PROGRAM_NAME} ${LINK_LIBS} ${GETTEXT_LIBRARIES})
- else(GETTEXT_LIBRARIES)
- target_link_libraries(${PROGRAM_NAME} ${LINK_LIBS})
- endif(GETTEXT_LIBRARIES)
+ target_link_libraries(${PROGRAM_NAME} ${LINK_LIBS} ${GETTEXT_LIBRARIES})
endif(WIN32)
# Building the Anope executable requires the version.h header to be generated
add_dependencies(${PROGRAM_NAME} headers)