Skip to content

Commit f6090cf

Browse files
fix
1 parent fbf600d commit f6090cf

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

src/CMakeLists.txt

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,20 @@ target_include_directories(core
8080
$<INSTALL_INTERFACE:include>
8181
)
8282

83-
target_link_libraries(core
84-
PUBLIC
85-
)
83+
if(NOT NO_B64_CPP_API)
84+
target_link_libraries(core
85+
PUBLIC
86+
$<$<BOOL:${STLSoft_FOUND}>:STLSoft::STLSoft>
87+
)
88+
89+
if(DEFINED STLSOFT_INCLUDE_DIR)
90+
91+
target_include_directories(core
92+
PUBLIC
93+
${STLSOFT_INCLUDE_DIR}
94+
)
95+
endif()
96+
endif()
8697

8798
target_compile_options(core
8899
PRIVATE

0 commit comments

Comments
 (0)