mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-05 05:25:23 +00:00
Force use of Boost's config package in projectM's installed CMake config
This commit is contained in:
@ -13,7 +13,11 @@ if(NOT "@ENABLE_EMSCRIPTEN@") # ENABLE_EMSCRIPTEN
|
||||
endif()
|
||||
endif()
|
||||
if("@ENABLE_BOOST_FILESYSTEM@") # ENABLE_BOOST_FILESYSTEM
|
||||
find_dependency(Boost COMPONENTS Filesystem)
|
||||
if(POLICY CMP0167)
|
||||
cmake_policy(SET CMP0167 NEW)
|
||||
endif()
|
||||
|
||||
find_dependency(Boost CONFIG NO_MODULE COMPONENTS Filesystem)
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
find_dependency(GLEW)
|
||||
|
||||
Reference in New Issue
Block a user