mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
CMake: append should be used for CMAKE_MODULE_PATH
- Additionally hardened paths by using PROJECT_SOURCE_DIR
This commit is contained in:
parent
8ffa2b6566
commit
360abbe5bf
@ -121,8 +121,8 @@ if (MAIN_PROJECT)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Specify the list of directories to search for cmake modules.
|
# Specify the list of directories to search for cmake modules.
|
||||||
set(CMAKE_MODULE_PATH
|
list(APPEND CMAKE_MODULE_PATH
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
|
"${PROJECT_SOURCE_DIR}/cmake"
|
||||||
)
|
)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user