Skip to content

Commit

Permalink
[Build System: CMake] Add CMake module paths before importing in Stan…
Browse files Browse the repository at this point in the history
…daloneOverlay.cmake.
  • Loading branch information
Rostepher committed May 10, 2019
1 parent 5e308a3 commit 2966af3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cmake/modules/StandaloneOverlay.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ if(DEFINED SWIFT_MASTER_LOADED
endif()


list(APPEND CMAKE_MODULE_PATH
"${SWIFT_SOURCE_ROOT}/llvm/cmake/modules"
"${PROJECT_SOURCE_DIR}/../../../../cmake/modules"
"${PROJECT_SOURCE_DIR}/../../../cmake/modules")


# -----------------------------------------------------------------------------
# Preconditions

Expand Down Expand Up @@ -69,11 +75,6 @@ set_property(CACHE SWIFT_STDLIB_BUILD_TYPE PROPERTY
set(CMAKE_INSTALL_PREFIX
"${SWIFT_DEST_ROOT}${TOOLCHAIN_DIR}/usr")

list(APPEND CMAKE_MODULE_PATH
"${SWIFT_SOURCE_ROOT}/llvm/cmake/modules"
"${PROJECT_SOURCE_DIR}/../../../../cmake/modules"
"${PROJECT_SOURCE_DIR}/../../../cmake/modules")


set(SWIFT_APPLE_PLATFORMS
OSX IOS IOS_SIMULATOR TVOS TVOS_SIMULATOR WATCHOS WATCHOS_SIMULATOR)
Expand Down

0 comments on commit 2966af3

Please sign in to comment.