]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - CMakeLists.txt
chat.cpp fix wchar_t isspace -> iswspace & wrong isspace on an index (#5783)
[dragonfireclient.git] / CMakeLists.txt
index aa7deaa11169b7bcbd279ff952f30d064f9dd336..09906f895bdfd745d81f39fad60d3c449a27019e 100644 (file)
@@ -26,6 +26,11 @@ elseif(DEVELOPMENT_BUILD)
        set(VERSION_STRING "${VERSION_STRING}-dev")
 endif()
 
+if (CMAKE_BUILD_TYPE STREQUAL Debug)
+       # Append "-debug" to version string
+       set(VERSION_STRING "${VERSION_STRING}-debug")
+endif()
+
 message(STATUS "*** Will build version ${VERSION_STRING} ***")
 
 
@@ -186,11 +191,14 @@ if(APPLE)
        install(FILES "misc/Info.plist" DESTINATION "${BUNDLE_PATH}/Contents")
 endif()
 
+# Library pack
+find_package(GMP REQUIRED)
+find_package(Json REQUIRED)
+find_package(Lua REQUIRED)
 
 # Subdirectories
 # Be sure to add all relevant definitions above this
 
-add_subdirectory(lib)
 add_subdirectory(src)