windows fixes
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2022-02-11 15:43:27 +01:00
parent e4cf12137a
commit 69404a26da
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ CPMAddPackage(
include_directories(${Angelscript_SOURCE_DIR}/angelscript/include)
include_directories(${Angelscript_SOURCE_DIR}/add_on)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/)
include_directories(${PkmnLib_BINARY_DIR}/include/)
@ -47,7 +48,7 @@ add_executable(PokemonScriptTester ${SRC_FILES})
add_definitions(-DLEVEL_U8)
ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER)
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger)
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic)
target_link_libraries(PokemonScriptTester PUBLIC ${_LINKS})
target_compile_options(PokemonScriptTester PRIVATE -Wall -Wextra -Werror)