Moved compilation settings to CMakeLists.txt in glabels subdirectory.
This commit is contained in:
@@ -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
|
||||||
#=======================================
|
#=======================================
|
||||||
|
|||||||
@@ -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
|
||||||
#=======================================
|
#=======================================
|
||||||
|
|||||||
Reference in New Issue
Block a user