Revert "Only depend on protolib when it is not build with norm"
This reverts commit 30e5dfab53.
pull/15/head
parent
30e5dfab53
commit
facc70ce29
|
|
@ -45,7 +45,6 @@ if(NOT protokit_FOUND)
|
||||||
GIT_TAG ${NORM_PROTOKIT_GIT_TAG}
|
GIT_TAG ${NORM_PROTOKIT_GIT_TAG}
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(protokit)
|
FetchContent_MakeAvailable(protokit)
|
||||||
set(NORM_PROTOKIT_INCLUDED 1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# List header files
|
# List header files
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,7 @@ include(GNUInstallDirs)
|
||||||
include(CMakeFindDependencyMacro)
|
include(CMakeFindDependencyMacro)
|
||||||
|
|
||||||
# Same syntax as find_package
|
# Same syntax as find_package
|
||||||
if(NOT @NORM_PROTOKIT_INCLUDED@)
|
find_dependency(protokit REQUIRED)
|
||||||
find_dependency(protokit REQUIRED)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Add the targets file
|
# Add the targets file
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/normTargets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/normTargets.cmake")
|
||||||
Loading…
Reference in New Issue