summaryrefslogtreecommitdiff
path: root/src/tool/CMakeLists.txt
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-09 07:39:27 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-07-09 07:39:27 +0000
commitab9b60f5c4501eb8d7bec4a053d73fc723ea31b5 (patch)
treeceea0d69fbfe3366454c34157adc1baa414f291b /src/tool/CMakeLists.txt
parent912dfc3af719b251d8a5036e76fb2733dddad46c (diff)
downloadhercules-ab9b60f5c4501eb8d7bec4a053d73fc723ea31b5.tar.gz
hercules-ab9b60f5c4501eb8d7bec4a053d73fc723ea31b5.tar.bz2
hercules-ab9b60f5c4501eb8d7bec4a053d73fc723ea31b5.tar.xz
hercules-ab9b60f5c4501eb8d7bec4a053d73fc723ea31b5.zip
* CMake: added search for math library, made CPack existence optional, updated the search for mysqlclient and corrected misspelled variables (tested with FreeBSD-8.2-i386)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14893 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/tool/CMakeLists.txt')
-rw-r--r--src/tool/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool/CMakeLists.txt b/src/tool/CMakeLists.txt
index a23637e3d..e45586915 100644
--- a/src/tool/CMakeLists.txt
+++ b/src/tool/CMakeLists.txt
@@ -25,7 +25,7 @@ source_group( common FILES ${COMMON_HEADERS} ${COMMON_SOURCES} )
source_group( mapcache FILES ${MAPCACHE_SOURCES} )
add_executable( mapcache ${SOURCE_FILES} )
include_directories( ${INCLUDE_DIRS} )
-target_link_libraries( mapcache ${ZLIB_LIBRARIES} )
+target_link_libraries( mapcache ${LIBRARIES} )
set_target_properties( mapcache PROPERTIES COMPILE_DEFINITIONS "${DEFINITIONS}" )
if( WITH_COMPONENT_RUNTIME )
cpack_add_component( Runtime_mapcache DESCRIPTION "mapcache generator" DISPLAY_NAME "mapcache" GROUP Runtime )