We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2365e14 commit c4f5835Copy full SHA for c4f5835
1 file changed
common/CMakeLists.txt
@@ -39,6 +39,7 @@ set(TARGET build_info)
39
add_library(${TARGET} OBJECT ${OUTPUT_FILE})
40
if (BUILD_SHARED_LIBS)
41
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
42
+ set_target_properties(${TARGET} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
43
endif()
44
45
set(TARGET llama-common)
@@ -122,10 +123,8 @@ if (BUILD_SHARED_LIBS)
122
123
set_target_properties(${TARGET} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
124
125
-target_link_libraries(${TARGET} PRIVATE
126
- build_info
127
- cpp-httplib
128
-)
+target_link_libraries(${TARGET} PUBLIC build_info)
+target_link_libraries(${TARGET} PRIVATE cpp-httplib)
129
130
if (LLAMA_LLGUIDANCE)
131
include(ExternalProject)
0 commit comments