commit 7f0d0a1f9cd0a88ea3eab9ca04b226feb86534b7
parent bc76b8838738b225d5c0fc4cd6accfad264618a8
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Wed, 4 May 2022 09:00:55 +0200
Fix cmake
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -19,7 +19,7 @@ target_link_libraries(clap-compile-cpp clap-core)
set_target_properties(clap-compile-cpp PROPERTIES CXX_STANDARD 14)
add_library(clap-plugin-template MODULE EXCLUDE_FROM_ALL src/plugin-template.c)
-target_link_libraries(clap-plugin-template clap-core)
+target_link_libraries(clap-plugin-template PRIVATE clap-core)
set_target_properties(clap-plugin-template PROPERTIES C_STANDARD 11)
if (${CMAKE_C_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_C_COMPILER_ID} STREQUAL "Clang")