Commit 0980457f authored by Linus Jahn's avatar Linus Jahn Committed by GitHub

CMake: Make i18n support optional (#64)

parent cd924c19
......@@ -4,6 +4,9 @@ set(QT_MIN_VERSION "5.7.0")
project(kaidan)
# CMake options
option(I18N "Enable i18n support" FALSE)
# application name
set(APPLICATION_ID "harbour.kaidan")
set(APPLICATION_NAME "kaidan")
......@@ -55,7 +58,9 @@ find_package(Boost REQUIRED)
# Translation
#
include("${CMAKE_SOURCE_DIR}/i18n/CMakeLists.txt")
if(I18N)
include("${CMAKE_SOURCE_DIR}/i18n/CMakeLists.txt")
endif()
#
# Sources / Resources
......
......@@ -26,7 +26,7 @@ Get Kaidan source code
Finally compile it
* `mkdir kaidan/build ; cd kaidan/build`
* `cmake ..`
* `cmake .. -DI18N=1`
* `make -j<number of threads>`
You can now run Kaidan:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment