Linux fixes
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Deukhoofd 2022-02-11 15:51:18 +01:00
parent 69404a26da
commit 176cb9f1c0
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 6 additions and 1 deletions

View File

@ -48,7 +48,12 @@ add_executable(PokemonScriptTester ${SRC_FILES})
add_definitions(-DLEVEL_U8) add_definitions(-DLEVEL_U8)
ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER) ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER)
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic) SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger)
if (WINDOWS)
SET(_LINKS ${_LINKS} -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic)
endif()
target_link_libraries(PokemonScriptTester PUBLIC ${_LINKS}) target_link_libraries(PokemonScriptTester PUBLIC ${_LINKS})
target_compile_options(PokemonScriptTester PRIVATE -Wall -Wextra -Werror) target_compile_options(PokemonScriptTester PRIVATE -Wall -Wextra -Werror)