From 0c82ff9e82602e0c4fc9d8b19492ceb4d5bee70d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 12 Mar 2022 13:06:54 +0100 Subject: [PATCH] Only add angelscript debugger to non windows platforms --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ab4398..811772c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)