Only add angelscript debugger to non windows platforms
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build was killed Details

This commit is contained in:
Deukhoofd 2022-03-12 13:06:54 +01:00
parent 44e850cfc7
commit 0c82ff9e82
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,11 @@ add_executable(PokemonScriptTester ${SRC_FILES})
add_definitions(-DLEVEL_U8)
ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER)
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger)
SET(_LINKS -static pkmnLib Arbutils)
if (NOT WINDOWS)
SET(_LINKS ${_LINKS} AngelscriptDebugger)
endif()
if (WINDOWS)
SET(_LINKS ${_LINKS} -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic)