3rd party dependencies do not have to be fetched manually any more, cmake make will do that automatically if needed

This commit is contained in:
jpekkila
2019-09-18 09:06:03 +03:00
parent 4b6ce26f8a
commit eefd60983a
2 changed files with 9 additions and 13 deletions

View File

@@ -40,6 +40,15 @@ else ()
endif()
message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
if (BUILD_RT_VISUALIZATION)
## SDL2
execute_process (
COMMAND ./setup_dependencies.sh
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty
)
add_subdirectory(3rdparty/SDL2)
endif ()
## Defines
if (DOUBLE_PRECISION)
add_definitions(-DAC_DOUBLE_PRECISION=1)