恢复成自定义协议了
This commit is contained in:
+2
-7
@@ -16,12 +16,7 @@ endif ()
|
||||
if (RENDERIVE_BUILD_3D)
|
||||
message(FATAL_ERROR "RENDERIVE_BUILD_3D is reserved; the 3D renderer is not implemented")
|
||||
endif ()
|
||||
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||
set(third_party "${CMAKE_CURRENT_LIST_DIR}/third_party")
|
||||
else ()
|
||||
set(third_party "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||
endif ()
|
||||
include("${third_party}/build_infra/start.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/third_party/build_infra/start.cmake")
|
||||
if (RENDERIVE_BUILD_TESTS)
|
||||
enable_testing()
|
||||
endif ()
|
||||
@@ -36,4 +31,4 @@ if (RENDERIVE_BUILD_WEB)
|
||||
add_subdirectory(web_server)
|
||||
endif ()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/cmake/RenderivePackage.cmake")
|
||||
include("${third_party}/build_infra/end.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/third_party/build_infra/end.cmake")
|
||||
|
||||
Reference in New Issue
Block a user