diff --git a/Slang/CMakeLists.txt b/Slang/CMakeLists.txt index f37d995..73eacf0 100644 --- a/Slang/CMakeLists.txt +++ b/Slang/CMakeLists.txt @@ -22,7 +22,7 @@ SET(programName Slang) set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) -find_package(Boost COMPONENTS any) +FIND_PACKAGE(Boost REQUIRED COMPONENTS system) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS})