comparison dep/animia/CMakeLists.txt @ 84:eab9e623eb84

dep/animia: update from upstream
author Paper <mrpapersonic@gmail.com>
date Wed, 25 Oct 2023 14:53:05 -0400
parents 1ce00c1c8ddc
children 69db40272acd
comparison
equal deleted inserted replaced
83:d02fdf1d6708 84:eab9e623eb84
12 endif() 12 endif()
13 add_library(animia SHARED ${SRC_FILES}) 13 add_library(animia SHARED ${SRC_FILES})
14 set_target_properties(animia PROPERTIES 14 set_target_properties(animia PROPERTIES
15 PUBLIC_HEADER animia/animia.h CXX_STANDARD 11) 15 PUBLIC_HEADER animia/animia.h CXX_STANDARD 11)
16 target_include_directories(animia PRIVATE include) 16 target_include_directories(animia PRIVATE include)
17 option(BUILD_TESTS "Build tests" OFF)
17 18
18 if(BUILD_TESTS) 19 if(BUILD_TESTS)
19 project(test LANGUAGES CXX) 20 project(test LANGUAGES CXX)
20 add_executable(test test/main.cpp) 21 add_executable(test test/main.cpp)
21 22