From 35e85252ee014fb3e6c5c94bacc9365df494eeb8 Mon Sep 17 00:00:00 2001 From: CPunch Date: Mon, 14 Mar 2022 12:21:29 -0500 Subject: [PATCH] Resolved library dependencies --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 7a11d13..5768fed 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -32,7 +32,7 @@ file(GLOB_RECURSE LIBSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/src/**.c ${CMAKE_CURRENT file(GLOB_RECURSE LIBHEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/**.h) add_library(LaikaLib STATIC ${LIBSOURCE} ${LIBHEADERS}) set_property(TARGET LaikaLib PROPERTY C_STANDARD 11) -target_link_libraries(LaikaLib PRIVATE sodium) +target_link_libraries(LaikaLib PUBLIC sodium) # add the version definitions and the 'DEBUG' preprocessor definition if we're compiling as Debug target_compile_definitions(LaikaLib PUBLIC "$<$:DEBUG>")