Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 3952d28

Browse files
author
Nicolas Cornu
authored
Be more restrictive when looking for Random123 (#602)
* Be more restrictive when looking for Random123 As the file searched to find Random123 (LICENSE) is really a common file we should be restrictive, otherwise we can found other projects. * Fix cmake-format
1 parent 864b712 commit 3952d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMake/AddRandom123Submodule.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ find_path(
1111
Random123_PROJ
1212
NAMES LICENSE
1313
PATHS "${CORENEURON_PROJECT_SOURCE_DIR}/external/Random123"
14-
NO_SYSTEM_ENVIRONMENT_PATH)
14+
NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
1515

1616
find_package_handle_standard_args(Random123 REQUIRED_VARS Random123_PROJ)
1717

0 commit comments

Comments
 (0)