mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Seems that on mac, the inclusion order matters.
This commit is contained in:
parent
83b2f282de
commit
1a26aab1cf
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
|
|||
include(ExternalProject)
|
||||
|
||||
include(cmake/Utils.cmake)
|
||||
include(cmake/MiscCheck.cmake)
|
||||
|
||||
# options
|
||||
option(USE_THREADS "Use Threads" ON)
|
||||
|
|
@ -54,6 +53,9 @@ option(BUILD_TEST "Build C++ test binaries (need gtest and gbenchmark)" ON)
|
|||
# ---[ Dependencies
|
||||
include(cmake/Dependencies.cmake)
|
||||
|
||||
# ---[ Misc checks to cope with various compiler modes
|
||||
include(cmake/MiscCheck.cmake)
|
||||
|
||||
# ---[ Set link flag, handle additional deps for gcc 5.x
|
||||
if(BUILD_SHARED_LIBS)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.0.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue