Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/xpbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jobs:
uses: externpro/externpro/.github/workflows/build-linux.yml@25.07.18
secrets:
automation_token: ${{ secrets.GHCR_TOKEN }}
with: {}
with:
cmake_workflow_preset_suffix: Release
macos:
uses: externpro/externpro/.github/workflows/build-macos.yml@25.07.18
secrets: inherit
with: {}
with:
cmake_workflow_preset_suffix: Release
windows:
uses: externpro/externpro/.github/workflows/build-windows.yml@25.07.18
secrets: inherit
with: {}
with:
cmake_workflow_preset_suffix: Release
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ string(JOIN "\n" EXT2
"find_package(Threads REQUIRED BYPASS_PROVIDER)"
""
)
string(JOIN "\n" COND_OPEN
""
"if(NOT DEFINED __xp_threads_found_message_shown)"
)
string(JOIN "\n" COND_CLOSE
""
" set(__xp_threads_found_message_shown TRUE CACHE INTERNAL \"Flag to track if Threads found message was shown\")"
"else()"
" # Skip the message but still set Threads_FOUND"
" set(Threads_FOUND TRUE)"
"endif()"
)
xpExternPackage(BASE v0 XPDIFF "bin"
WEB "https://cmake.org/cmake/help/latest/module/FindThreads.html"
DESC "Finds and determines the thread library of the system for multithreading support"
Expand Down