🔊 add debug output

This commit is contained in:
Niels Lohmann 2022-08-20 14:30:36 +02:00
parent 9f31c917f9
commit be77d8c1e9
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -4,7 +4,11 @@ project(DummyImport CXX)
include(FetchContent)
set(FETCHCONTENT_QUIET OFF)
message(WARNING "CMAKE_CURRENT_SOURCE_DIR = ${CMAKE_CURRENT_SOURCE_DIR}")
message(WARNING "CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
get_filename_component(GIT_REPOSITORY_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../.. ABSOLUTE)
message(WARNING "GIT_REPOSITORY_DIRECTORY = ${GIT_REPOSITORY_DIRECTORY}")
FetchContent_Declare(json GIT_REPOSITORY ${GIT_REPOSITORY_DIRECTORY} GIT_TAG HEAD)
FetchContent_GetProperties(json)