Skip to content

Commit

Permalink
CMakeLists.txt: Correct bug where the setting of options are not prin…
Browse files Browse the repository at this point in the history
…ted correctly
  • Loading branch information
molysgaard committed Nov 8, 2023
1 parent 9e3c6bc commit bed2f14
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 @@ -13,7 +13,7 @@ endif()

macro(VERBOSE_OPTION ARG DESC)
option(${ARG} ${DESC} ${ARGN})
message("-- Option: ${ARG}: ${ARGN}")
message("-- Option: ${ARG}: ${${ARG}}")
endmacro()

VERBOSE_OPTION(DO_CORE_BUILD "Only build essentials by default" ${CORE_BUILD_DEFAULT})
Expand All @@ -26,6 +26,7 @@ IF(WIN32)
SET(IS_WINDOWS ON)
ENDIF()
VERBOSE_OPTION(USE_HIDAPI "Use HIDAPI instead of libusb" ${IS_WINDOWS})
#option(USE_HIDAPI "Use HIDAPI instead of libusb" ${IS_WINDOWS})
VERBOSE_OPTION(USE_ASAN "Use address sanitizer" OFF)
VERBOSE_OPTION(USE_MSAN "Use memory sanitizer" OFF)
VERBOSE_OPTION(ENABLE_TESTS "Enable build / execution of tests" OFF)
Expand Down

0 comments on commit bed2f14

Please sign in to comment.