Skip to content

Commit 883a4c1

Browse files
committed
[cmake] comment to explain how to deal with boost
1 parent c809932 commit 883a4c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ if(APPLE)
111111
endif(APPLE)
112112

113113
# FIND BOOST
114-
#set(BOOST_REQUIRED_COMPONENTS "chrono;date_time;filesystem;program_options;serialization;system;thread;timer;math_c99")
114+
# list only components that are not header-only, those have a target associated
115+
# the header-only components must be added with target_include_directories( ... ${Boost_INCLUDE_DIRS} )
115116
set(BOOST_REQUIRED_COMPONENTS "date_time;filesystem;program_options;serialization;timer")
116117
if(WIN32)
117118
set(BOOST_REQUIRED_COMPONENTS "${BOOST_REQUIRED_COMPONENTS};stacktrace_windbg")

0 commit comments

Comments
 (0)