Skip to content

Commit

Permalink
luasocket CMake dependency to be built before engine when building ed…
Browse files Browse the repository at this point in the history
…itor on Win32
  • Loading branch information
Mormert committed Apr 3, 2024
1 parent 003216c commit 3f19509
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ target_link_libraries(engine PUBLIC zlib)
add_subdirectory(3rdparty/lua)
target_link_libraries(engine PUBLIC vanilla_lua)

add_subdirectory(3rdparty/luasocket)
if (JLE_BUILD_EDITOR AND WIN32)
add_subdirectory(3rdparty/luasocket)
add_dependencies(engine socket_core)
add_dependencies(engine mime_core)
endif ()

if (NOT JLE_BUILD_EMSCRIPTEN) # Native build, excluding some Emscripten-embedded libraries else()

Expand Down

0 comments on commit 3f19509

Please sign in to comment.