summaryrefslogtreecommitdiff
path: root/3rdparty/mt19937ar/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/mt19937ar/CMakeLists.txt')
-rw-r--r--3rdparty/mt19937ar/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/3rdparty/mt19937ar/CMakeLists.txt b/3rdparty/mt19937ar/CMakeLists.txt
new file mode 100644
index 000000000..08eff5790
--- /dev/null
+++ b/3rdparty/mt19937ar/CMakeLists.txt
@@ -0,0 +1,16 @@
+
+find_path( MT19937AR_INCLUDE_DIRS "mt19937ar.h"
+ PATHS "${CMAKE_CURRENT_SOURCE_DIR}"
+ NO_DEFAULT_PATH )
+find_path( MT19937AR_SOURCE_DIR "mt19937ar.c"
+ PATHS "${CMAKE_CURRENT_SOURCE_DIR}"
+ NO_DEFAULT_PATH )
+mark_as_advanced( MT19937AR_INCLUDE_DIRS )
+mark_as_advanced( MT19937AR_SOURCE_DIR )
+
+set( MT19937AR_HEADERS
+ "${CMAKE_CURRENT_SOURCE_DIR}/mt19937ar.h"
+ CACHE INTERNAL "mt19937ar headers" )
+set( MT19937AR_SOURCES
+ "${CMAKE_CURRENT_SOURCE_DIR}/mt19937ar.c"
+ CACHE INTERNAL "mt19937ar sources" )