mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Copy the binary to plugins folder after compiling.
This commit is contained in:
parent
9e68216136
commit
1242b8a2fc
@ -116,4 +116,6 @@ target_include_directories(SqModule PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
# Link to windows libraryes if on windos
|
||||
if(WIN32 OR MINGW)
|
||||
target_link_libraries(SqModule wsock32 ws2_32)
|
||||
endif()
|
||||
endif()
|
||||
# Copy module into the plugins folder
|
||||
add_custom_command(TARGET SqModule POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:SqModule> "${PROJECT_SOURCE_DIR}/bin/plugins")
|
||||
|
Loading…
Reference in New Issue
Block a user