Moved compilation settings to CMakeLists.txt in glabels subdirectory.

This commit is contained in:
Jim Evins
2017-02-25 19:35:25 -05:00
parent 711d7ec330
commit 5cf98840fc
2 changed files with 11 additions and 11 deletions
-11
View File
@@ -34,17 +34,6 @@ find_package(Qt5Svg 5.4 REQUIRED)
find_package(ZLIB 1.2 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 # Subdirectories
#======================================= #=======================================
+11
View File
@@ -6,6 +6,17 @@ cmake_minimum_required (VERSION 2.8.12)
project (app CXX) 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 # Auto-generate Version.h
#======================================= #=======================================