Skip to content

Commit

Permalink
try to enable shared lib for liblcf on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
knuxify committed Sep 28, 2024
1 parent 8618720 commit add5235
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ if(USE_SYSTEM_LIBLCF)
find_package(liblcf REQUIRED)
else(USE_SYSTEM_LIBLCF)
function(add_liblcf)
set(BUILD_SHARED_LIBS OFF)
if(WIN32)
set(BUILD_SHARED_LIBS OFF)
endif(WIN32)
set(LIBLCF_ENABLE_INSTALL OFF)
add_subdirectory(${CMAKE_SOURCE_DIR}/third_party/liblcf)
endfunction()
Expand Down

0 comments on commit add5235

Please sign in to comment.