diff options
| -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 |
