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 1b7f1ad commit dd12f97Copy full SHA for dd12f97
CMakeLists.txt
@@ -1,16 +1,13 @@
1
cmake_minimum_required(VERSION 2.9)
2
project(qmc-decoder)
3
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -std=c++11")
4
-if(NOT APPLE)
5
-set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
6
-endif()
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -pthread -std=c++11")
7
8
set(Boost_USE_STATIC_LIBS ON)
9
find_package(Boost 1.56 REQUIRED COMPONENTS filesystem)
10
include_directories(${Boost_INCLUDE_DIRS})
11
aux_source_directory(src SRC)
12
add_executable(decoder ${SRC})
13
-target_link_libraries(decoder ${Boost_LIBRARIES})
+target_link_libraries(decoder ${Boost_LIBRARIES})
14
15
16
0 commit comments