diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-11-20 18:32:47 -0500 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-11-20 18:32:47 -0500 |
commit | 5a17b060feedd6037a2037f7cea23fd58129541e (patch) | |
tree | d8a731ca9a5fc361796ceb3cf885cc9d3b2da9d7 /src | |
parent | bf8e4ac71484cfe30bcddd02cb91900875dc34b2 (diff) |
Really fix linking in libraries (even if gettext isn't found on *nix), and a minor nitpick about the leading spaces on LINK_LIBS.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a00c53d98..01dc44fbc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,6 +98,8 @@ if(WIN32) 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) endif(WIN32) # Building the Anope executable requires the version.h header to be generated |