updated build system
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
2024-08-04 10:30:49 -05:00
parent 15cc7b0b87
commit 9ce4c5a494
13 changed files with 53 additions and 70 deletions

View File

@ -1,16 +1,12 @@
if(PROJECT_ENABLE_STDUUID)
if(PROJECT_BUILD)
find_package(stduuid REQUIRED)
add_definitions(-DPROJECT_ENABLE_STDUUID)
include_directories(BEFORE SYSTEM
${stduuid_INCLUDE_DIRS}
)
find_package(stduuid REQUIRED)
link_libraries(
${stduuid_LIBRARIES}
)
include_directories(BEFORE SYSTEM ${stduuid_INCLUDE_DIRS})
link_libraries(${stduuid_LIBRARIES})
elseif(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
ExternalProject_Add(stduuid_project
PREFIX external