Skip to content

Commit

Permalink
Bruv
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Dec 7, 2024
1 parent 29ca6a3 commit 5b06261
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ if(WIN32)
PRE_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${SFML_SOURCE_DIR}/extlibs/bin/$<IF:$<EQUAL:${CMAKE_SIZEOF_VOID_P},8>,x64,x86>/openal32.dll $<TARGET_FILE_DIR:8ChocChip>
VERBATIM)

add_custom_command(TARGET 8ChocChip POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${NFD_DLL_PATH} $<TARGET_FILE_DIR:8ChocChip>/nfd.dll
COMMAND ${CMAKE_COMMAND} -E copy
${LIBCONFIG_DLL_PATH} $<TARGET_FILE_DIR:8ChocChip>/libconfig++.dll
add_custom_command(
TARGET 8ChocChip POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${DEPENDENCY_BUILD_DIR}/nfd.dll
${DEPENDENCY_BUILD_DIR}/libconfig++.dll
$<TARGET_FILE_DIR:8ChocChip>
)

if (BUILD_SHARED_LIBS)
Expand Down

0 comments on commit 5b06261

Please sign in to comment.