mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Don't override CMAKE_MODULE_PATH
The Conan package for SFML has to fix this so apparently it's a real world problem.
This commit is contained in:
parent
e9e25d52bc
commit
1f23f7818e
@ -384,7 +384,7 @@ function(sfml_find_package)
|
||||
message(FATAL_ERROR "Unknown arguments when calling sfml_import_library: ${THIS_UNPARSED_ARGUMENTS}")
|
||||
endif()
|
||||
|
||||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules/")
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules/")
|
||||
if (SFML_OS_IOS)
|
||||
find_host_package(${target} REQUIRED)
|
||||
else()
|
||||
|
@ -40,7 +40,7 @@ elseif(SFML_OS_ANDROID)
|
||||
endif()
|
||||
|
||||
# define the path of our additional CMake modules
|
||||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules/")
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules/")
|
||||
|
||||
# set the output directory for SFML libraries
|
||||
set(LIBRARY_OUTPUT_PATH "${PROJECT_BINARY_DIR}/lib")
|
||||
|
Loading…
Reference in New Issue
Block a user