Skip to content

Commit

Permalink
fix crownlib only build
Browse files Browse the repository at this point in the history
  • Loading branch information
harrypuuter committed Apr 10, 2024
1 parent a324896 commit 7932411
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ endif()
set(GENERATE_CPP_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

# crownlib setup
include(ConfigureCrownlib)
if (BUILD_CROWNLIB_ONLY)
# exit if only crownlib is being built
return()
endif()

# run the code generation
include(CodeGeneration)
Expand Down

0 comments on commit 7932411

Please sign in to comment.