We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8267ea commit 29fd46aCopy full SHA for 29fd46a
CMakeLists.txt
@@ -28,12 +28,13 @@ endif(PROFILING STREQUAL "ON")
28
if (DEBUG STREQUAL "ON")
29
# Debug mode
30
ADD_DEFINITIONS(-DOF_DEBUG)
31
-set(CMAKE_BUILD_TYPE Debug)
+set(CMAKE_BUILD_TYPE Debug)
32
message(STATUS "Debug mode ON" )
33
34
else(DEBUG STREQUAL "ON")
35
# Release mode
36
set(CMAKE_BUILD_TYPE Release)
37
+set(CMAKE_C_FLAGS "-O4")
38
message(STATUS "Debug mode OFF")
39
40
endif (DEBUG STREQUAL "ON")
pc/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.0.2)
2
include(GNUInstallDirs)
3
4
SET(PKG_CONFIG_LIBS
0 commit comments