CMake: cmake module path is assumed to be a list

append to it to allow setting it from outside
This commit is contained in:
Markus Reitboeck
2019-04-11 21:56:07 +02:00
committed by wmayer
parent 78fe9b570e
commit 4d3c206fd3

View File

@@ -37,7 +37,7 @@ set(PACKAGE_STRING "${PROJECT_NAME} ${PACKAGE_VERSION}")
include(AddFileDependencies)
include(cMake/FreeCadMacros.cmake)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cMake")
#if(CMAKE_CFG_INTDIR STREQUAL .)