diff --git a/deps/nfde/CMakeLists.txt b/deps/nfde/CMakeLists.txt index bdaa8de1..31557c17 100644 --- a/deps/nfde/CMakeLists.txt +++ b/deps/nfde/CMakeLists.txt @@ -10,7 +10,11 @@ if(NOT DEFINED BUILD_SHARED_LIBS) option(BUILD_SHARED_LIBS "Build a shared library instead of static" OFF) endif() option(NFD_BUILD_TESTS "Build tests for nfd" ${nfd_ROOT_PROJECT}) -option(NFD_INSTALL "Generate install target for nfd" ${nfd_ROOT_PROJECT}) +# DrinkingTea: begin +if(NOT DEFINED NFD_INSTALL) + option(NFD_INSTALL "Generate install target for nfd" ${nfd_ROOT_PROJECT}) +endif() +# DrinkingTea: end set(nfd_PLATFORM Undefined) if(WIN32) @@ -21,7 +25,9 @@ elseif(UNIX AND NOT APPLE) set(nfd_PLATFORM PLATFORM_UNIX) endif() -message("nfd Platform: ${nfd_PLATFORM}") +# DrinkingTea: begin +#message("nfd Platform: ${nfd_PLATFORM}") +# DrinkingTea: end set(nfd_COMPILER Undefined) if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") @@ -33,7 +39,9 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "C set(nfd_COMPILER COMPILER_GNU) endif() +# DrinkingTea: begin message("nfd Compiler: ${nfd_COMPILER}") +# DrinkingTea: end # Use latest C++ by default (should be the best one), but let user override it if(NOT DEFINED CMAKE_CXX_STANDARD)