diff --git a/CMakeLists.txt b/CMakeLists.txt index 12320fb..70f611b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,13 +33,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Set SPDLOG_MASTER_PROJECT to ON if we are building spdlog #--------------------------------------------------------------------------------------- # Check if spdlog is being used directly or via add_subdirectory, but allow overriding -if (NOT DEFINED SPDLOG_MASTER_PROJECT) - if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) - set(SPDLOG_MASTER_PROJECT ON) - else() - set(SPDLOG_MASTER_PROJECT OFF) - endif() -endif () +set(SPDLOG_MASTER_PROJECT OFF) # build shared option if(NOT WIN32)