Massive CMake refactoring... No code changes. (0.37.55)
This commit is contained in:
parent
a63aff3daa
commit
501be417e8
22 changed files with 513 additions and 568 deletions
14
cmake/Dependencies.cmake
Normal file
14
cmake/Dependencies.cmake
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Common dependency discovery used across the project
|
||||
|
||||
# Threads (used by demos and optionally by the runtime)
|
||||
if(UNIX)
|
||||
find_package(Threads QUIET)
|
||||
endif()
|
||||
|
||||
# Python for helper scripts
|
||||
find_package(Python3 QUIET COMPONENTS Interpreter)
|
||||
if(Python3_Interpreter_FOUND)
|
||||
set(_FUN_PY "${Python3_EXECUTABLE}")
|
||||
else()
|
||||
set(_FUN_PY "python3")
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue