We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb7059a commit e32145bCopy full SHA for e32145b
CMakeLists.txt
@@ -5,14 +5,15 @@ set(PYBIND11_FINDPYTHON ON)
5
find_package(pybind11 CONFIG REQUIRED)
6
find_package(Boost CONFIG REQUIRED)
7
8
-option (USE_MT_RNG "Use mt19937 random number generator instead of taus88" OFF)
9
-
+set(_USE_MT_RNG OFF)
10
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
11
if (CMAKE_SYSTEM_VERSION MATCHES "22\\.04")
12
- set(USE_MT_RNG ON)
+ set(_USE_MT_RNG ON)
13
endif()
14
15
+option (USE_MT_RNG "Use mt19937 random number generator instead of taus88" _USE_MT_RNG)
16
+
17
configure_file(FindAFactor/include/common/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/common/config.h @ONLY)
18
19
pybind11_add_module(_find_a_factor FindAFactor/_find_a_factor.cpp FindAFactor/dispatchqueue.cpp)
0 commit comments