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 3dd945a commit 8a64802Copy full SHA for 8a64802
CMakeLists.txt
@@ -13,8 +13,7 @@ find_package(PkgConfig)
13
14
# ### Search Additional Libraries ##########
15
16
-
17
+SET(CMAKE_CXX_FLAGS "-std=c++11 -O3")
18
19
# #### End of additional libraries search ##########
20
@@ -67,11 +66,11 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CIMG_CFLAGS}")
67
66
68
# to disable some warnings for CImg
69
if (NOT WIN32)
70
- set(CMAKE_CXX_FLAGS "-Wdeprecated -Wno-attributes" )
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdeprecated -Wno-attributes" )
71
endif()
72
73
if (APPLE)
74
- set(CMAKE_CXX_FLAGS "-Wdeprecated -Wwritable-strings -std=c++11" )
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wdeprecated -Wwritable-strings -std=c++11" )
75
76
77
if (MSVC)
0 commit comments