diff --git a/CMakeLists.txt b/CMakeLists.txt index 946814d..3c744db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,17 +34,6 @@ find_package(Qt5Svg 5.4 REQUIRED) find_package(ZLIB 1.2 REQUIRED) -#======================================= -# Compilation -#======================================= -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -add_compile_options (-std=c++11 -g) -if (NOT WIN32) - add_compile_options (-fPIC) -endif () - - #======================================= # Subdirectories #======================================= diff --git a/glabels/CMakeLists.txt b/glabels/CMakeLists.txt index d9957fe..e39fc72 100644 --- a/glabels/CMakeLists.txt +++ b/glabels/CMakeLists.txt @@ -6,6 +6,17 @@ cmake_minimum_required (VERSION 2.8.12) project (app CXX) +#======================================= +# Compilation +#======================================= +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +add_compile_options (-std=c++11 -g) +if (NOT WIN32) + add_compile_options (-fPIC) +endif () + + #======================================= # Auto-generate Version.h #=======================================