From c6770df5a575ffc4e97c12808c27a11dcf303cee Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 12 Oct 2023 21:12:41 -0400 Subject: [PATCH] This adds the prefix ada to a custom target to avoid conflicts. --- singleheader/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/singleheader/CMakeLists.txt b/singleheader/CMakeLists.txt index 2221dbb03..a4312f9b0 100644 --- a/singleheader/CMakeLists.txt +++ b/singleheader/CMakeLists.txt @@ -37,14 +37,14 @@ if (Python3_Interpreter_FOUND) # DEPENDS amalgamate.py ada ) - add_custom_target(singleheader-files DEPENDS ${SINGLEHEADER_FILES}) + add_custom_target(ada-singleheader-files DEPENDS ${SINGLEHEADER_FILES}) # # Include this if you intend to #include "ada.cpp" in your own .cpp files. # add_library(ada-singleheader-include-source INTERFACE) target_include_directories(ada-singleheader-include-source INTERFACE $) - add_dependencies(ada-singleheader-include-source singleheader-files) + add_dependencies(ada-singleheader-include-source ada-singleheader-files) add_library(ada-singleheader-source INTERFACE) target_sources(ada-singleheader-source INTERFACE $)