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
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ option(
include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})

if(NOT BEMAN_EXECUTION_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
if(PROJECT_IS_TOP_LEVEL AND NOT BEMAN_EXECUTION_ENABLE_INSTALL OR CMAKE_SKIP_INSTALL_RULES)
set(CMAKE_SKIP_INSTALL_RULES ON)

include(FetchContent)

# Add project_options from https://github.com/aminya/project_options
Expand Down
1 change: 1 addition & 0 deletions tests/beman/execution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ if(PROJECT_IS_TOP_LEVEL)
if(beman_execution_FOUND)
set(execution_tests exec-awaitable.test) # only one sample to save time! CK
else()
set(BEMAN_EXECUTION_ENABLE_INSTALL ON)
add_subdirectory(../../.. beman_execution)

include(CMakePrintHelpers)
Expand Down
Loading