Skip to content

Commit

Permalink
chore: add check on combination of EMIL_BUILD_ECHO_COMPILERS and EMIL…
Browse files Browse the repository at this point in the history
…_FETCH_ECHO_COMPILERS
  • Loading branch information
richardapeters committed Oct 25, 2024
1 parent bcfe895 commit 17c7ae0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ else()
set(EMIL_DEFAULTOPT_BUILD_ECHO_COMPILERS Off)
endif()
option(EMIL_BUILD_ECHO_COMPILERS "Build and install the Protobuf ECHO compilers" ${EMIL_DEFAULTOPT_BUILD_ECHO_COMPILERS})
if (EMIL_FETCH_ECHO_COMPILERS AND EMIL_BUILD_ECHO_COMPILERS)
message(FATAL_ERROR "Invalid combination: EMIL_FETCH_ECHO_COMPILERS AND EMIL_BUILD_ECHO_COMPILERS. Please select only one of these.")
endif()

# Enable or disable optional features.
option(EMIL_INCLUDE_MBEDTLS "Include MbedTLS as part of EmIL" On)
Expand Down

0 comments on commit 17c7ae0

Please sign in to comment.