diff options
Diffstat (limited to 'expat/CMakeLists.txt')
-rw-r--r-- | expat/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index dd793188..ff081550 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -38,7 +38,7 @@ cmake_minimum_required(VERSION 3.5.0) project(expat VERSION - 2.6.0 + 2.6.2 LANGUAGES C ) @@ -466,7 +466,7 @@ foreach(build_type_upper endforeach() set(LIBCURRENT 10) # sync -set(LIBREVISION 0) # with +set(LIBREVISION 2) # with set(LIBAGE 9) # configure.ac! math(EXPR LIBCURRENT_MINUS_AGE "${LIBCURRENT} - ${LIBAGE}") @@ -676,6 +676,8 @@ if(EXPAT_BUILD_TESTS) ) foreach(_target ${_EXPAT_TEST_TARGETS}) + target_compile_definitions(${_target} PRIVATE -DXML_TESTING) + set_property(TARGET ${_target} PROPERTY RUNTIME_OUTPUT_DIRECTORY tests) expat_add_test(${_target} $<TARGET_FILE:${_target}>) |