diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt index 5e79e3eb31..009350b124 100644 --- a/game/CMakeLists.txt +++ b/game/CMakeLists.txt @@ -71,4 +71,11 @@ add_executable(gk ${RUNTIME_SOURCE}) # can be used to test other things. add_library(runtime ${RUNTIME_SOURCE}) -target_link_libraries(gk pthread) \ No newline at end of file + +IF (WIN32) + # set stuff for windows + target_link_libraries(gk) +ELSE() + # set stuff for other systems + target_link_libraries(gk pthread) +ENDIF() diff --git a/game/runtime.cpp b/game/runtime.cpp index 5f8cb3b7a3..7bd2b42b66 100644 --- a/game/runtime.cpp +++ b/game/runtime.cpp @@ -4,7 +4,7 @@ */ #include -#include +#include #include #include diff --git a/goalc/emitter/CodeTester.cpp b/goalc/emitter/CodeTester.cpp index 676841797f..c40f6a8d52 100644 --- a/goalc/emitter/CodeTester.cpp +++ b/goalc/emitter/CodeTester.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "CodeTester.h" #include "Instruction.h" diff --git a/mman.c b/third-party/mman/mman.c similarity index 100% rename from mman.c rename to third-party/mman/mman.c diff --git a/third-party/mman.h b/third-party/mman/mman.h similarity index 100% rename from third-party/mman.h rename to third-party/mman/mman.h