CMake: Use append instead of set to modify list
This commit is contained in:
parent
0f563111a2
commit
d6ff5c6f75
|
@ -1,6 +1,6 @@
|
||||||
# CMake 3.6 required for FindBoost to define IMPORTED libs properly on unknown Boost versions
|
# CMake 3.6 required for FindBoost to define IMPORTED libs properly on unknown Boost versions
|
||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 3.6)
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules")
|
||||||
|
|
||||||
function(download_bundled_external remote_path lib_name prefix_var)
|
function(download_bundled_external remote_path lib_name prefix_var)
|
||||||
set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}")
|
set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}")
|
||||||
|
|
Loading…
Reference in New Issue