mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-21 10:38:27 -05:00
allow building loader in debug mode on windows
This commit is contained in:
parent
1a201e1d65
commit
5645399a9f
2 changed files with 16 additions and 7 deletions
|
@ -72,6 +72,17 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "Win64")
|
|||
target_link_libraries(${PROJECT_NAME} INTERFACE
|
||||
${GEODE_LOADER_PATH}/include/link/win64/libcocos2d.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/libExtensions.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/glew32.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/fmod.lib
|
||||
opengl32
|
||||
)
|
||||
|
||||
if (PROJECT_IS_TOP_LEVEL AND CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE
|
||||
${GEODE_LOADER_PATH}/include/link/win64/gd-libcurl.lib
|
||||
)
|
||||
else()
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE
|
||||
${GEODE_LOADER_PATH}/include/link/win64/ssl.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/crypto.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/nghttp2.lib
|
||||
|
@ -79,10 +90,8 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "Win64")
|
|||
${GEODE_LOADER_PATH}/include/link/win64/nghttp3.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/ngtcp2_crypto_boringssl.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/libcurl.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/glew32.lib
|
||||
${GEODE_LOADER_PATH}/include/link/win64/fmod.lib
|
||||
opengl32
|
||||
)
|
||||
endif()
|
||||
|
||||
# Windows links against .lib and not .dll
|
||||
set(GEODE_OUTPUT_NAME "Geode")
|
||||
|
|
BIN
loader/include/link/win64/gd-libcurl.lib
Normal file
BIN
loader/include/link/win64/gd-libcurl.lib
Normal file
Binary file not shown.
Loading…
Reference in a new issue