aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-02-24 23:02:14 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-30 08:20:21 +0200
commitc3a33ebe3e6e3585bc52e3c934f24a326d905b1f (patch)
treea4177e408e5ecdb4cca897f8f49298fcfd916122
parent2649f32cddd85d10783a53f0e13d1679ad193207 (diff)
downloadjancity-c3a33ebe3e6e3585bc52e3c934f24a326d905b1f.tar.gz
Import fixmath
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
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")