diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-02-24 23:02:14 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-03-30 08:20:21 +0200 |
| commit | ae5b0bed1209863177b797d48263763ea9a291f0 (patch) | |
| tree | 9503755923b7c1b7ab771ce8e40108f8fd49dd09 | |
| parent | 3ede0358e011bf6f684f15943099304495f9ca13 (diff) | |
| download | rts-ae5b0bed1209863177b797d48263763ea9a291f0.tar.gz | |
Import fixmath
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | CMakeLists.txt | 6 | ||||
| m--------- | libfixmath | 0 |
3 files changed, 4 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..67d2deb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libfixmath"] + path = libfixmath + url = https://gitea.privatedns.org/Xavi92/libfixmath.git diff --git a/CMakeLists.txt b/CMakeLists.txt index aa269d5..1ca63a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,11 +87,7 @@ endif() # libfixmath is already bundled with PSXSDK. if(NOT PS1_BUILD) - if("$ENV{FIXMATH_PATH}" STREQUAL "") - message(FATAL_ERROR "please define env variable FIXMATH_PATH") - endif() - - add_subdirectory($ENV{FIXMATH_PATH} ${CMAKE_BINARY_DIR}/libfixmath) + add_subdirectory(libfixmath) endif() add_subdirectory("res") diff --git a/libfixmath b/libfixmath new file mode 160000 +Subproject 33a383b98e7517a22ab5dd65cdbc947a551a5f3 |
