Skip to content

Commit

Permalink
Another solution
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAlifanov committed Sep 9, 2024
1 parent bcf6433 commit f87335a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ INCLUDE (subdirs)
INCLUDE (openssl)
INCLUDE (version)

IF (NOT CHCPP_EMBEDDED_BUILD)
# use global flags only for standalone build
IF (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
OPTION (BUILD_BENCHMARK "Build benchmark" OFF)
OPTION (BUILD_TESTS "Build tests" OFF)
OPTION (BUILD_SHARED_LIBS "Build shared libs" OFF)
Expand Down

0 comments on commit f87335a

Please sign in to comment.