CMake: Use append instead of set to modify list

This commit is contained in:
Yuri Kunde Schlesner 2017-05-27 20:43:58 -07:00
parent 0f563111a2
commit d6ff5c6f75
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# CMake 3.6 required for FindBoost to define IMPORTED libs properly on unknown Boost versions
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)
set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}")