mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-23 05:57:11 +02:00
Copy the binary to plugins folder after compiling.
This commit is contained in:
1 parent
9e68216136
commit
1242b8a2fc
1 file changed
+3
-1
@@ -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")
|
||||
Reference in new issue
Block a user