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