Created
August 31, 2016 18:09
-
-
Save yolier/493467fb8dbcfc02cac29cb7bc04ead0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.2) | |
| project(<<PROJECTNAME>>) | |
| find_package(Boost 1.58.0 REQUIRED) | |
| IF(Boost_Found) | |
| include_directories(${Boost_INCLUDE_DIRS}) | |
| add_definitions("-DHAS_BOOST") | |
| ENDIF() | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -lboost_system") | |
| set(SOURCE_FILES ...) | |
| add_executable(<<PROJECTNAME>> ${SOURCE_FILES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment