Skip to content

Commit

Permalink
fix top level detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Macheta committed Jan 4, 2024
1 parent 46d5cbf commit 44545ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ option(CONFIG_LOGGER_VERBOSE_ERRORS
"Uses custom compiler pragmas to display additional debug information on compilation errors" OFF
)

option(CONFIG_LOGGER_BUILD_TESTS "Forces building test cases" PROJECT_IS_TOP_LEVEL)

option(CONFIG_LOGGER_ENABLE_INSTALL_TARGET "Enables install target" PROJECT_IS_TOP_LEVEL)
option(CONFIG_LOGGER_BUILD_TESTS "Forces building test cases" ${PROJECT_IS_TOP_LEVEL})

option(CONFIG_LOGGER_ENABLE_INSTALL_TARGET "Enables install target" ${PROJECT_IS_TOP_LEVEL})

set(EXTENDED_MODULE_PATH ${CMAKE_MODULE_PATH};${CMAKE_CURRENT_LIST_DIR}/cmake)
list(REMOVE_DUPLICATES EXTENDED_MODULE_PATH)
Expand Down

0 comments on commit 44545ec

Please sign in to comment.