This commit is contained in:
2026-08-16 00:07:05 +08:00
parent 7a94264c13
commit 893be8d2c6
21 changed files with 363 additions and 211 deletions
+4
View File
@@ -26,7 +26,11 @@ if (@RENDERIVE_INSTALL_3D@)
find_dependency(tinyobjloader CONFIG)
find_dependency(ZLIB)
if (WIN32)
set(_Renderive_saved_module_path "${CMAKE_MODULE_PATH}")
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/modules")
find_dependency(PThreads4W)
set(CMAKE_MODULE_PATH "${_Renderive_saved_module_path}")
unset(_Renderive_saved_module_path)
endif ()
endif ()
+6
View File
@@ -34,6 +34,12 @@ install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/RenderiveConfigVersion.cmake"
DESTINATION "${Renderive_install_cmake_dir}")
if (RENDERIVE_INSTALL_3D AND WIN32)
install(FILES
"${PROJECT_SOURCE_DIR}/render_3D/cmake/module/FindPThreads4W.cmake"
DESTINATION "${Renderive_install_cmake_dir}/modules")
endif ()
if (RENDERIVE_INSTALL_QT)
install(FILES "${PROJECT_SOURCE_DIR}/export.h"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")