diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-10-03 16:24:59 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-10-03 17:56:54 +0200 |
commit | b0d35ec3496064c4ce13fa7b8f3346670a67c0fe (patch) | |
tree | fa889051b88796c627c5e4f5b8ac6d91052a7d76 | |
parent | 8103af1d76883dd2091afe7a5043a81571ba1bd0 (diff) | |
download | meson-b0d35ec3496064c4ce13fa7b8f3346670a67c0fe.zip meson-b0d35ec3496064c4ce13fa7b8f3346670a67c0fe.tar.gz meson-b0d35ec3496064c4ce13fa7b8f3346670a67c0fe.tar.bz2 |
cmake: Add test case for #5992
-rw-r--r-- | test cases/cmake/2 advanced/subprojects/cmMod/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test cases/cmake/3 advanced no dep/subprojects/cmMod/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test cases/cmake/2 advanced/subprojects/cmMod/CMakeLists.txt b/test cases/cmake/2 advanced/subprojects/cmMod/CMakeLists.txt index f9e7578..05ccb9e 100644 --- a/test cases/cmake/2 advanced/subprojects/cmMod/CMakeLists.txt +++ b/test cases/cmake/2 advanced/subprojects/cmMod/CMakeLists.txt @@ -14,6 +14,8 @@ add_library(cmModLib SHARED lib/cmMod.cpp) include(GenerateExportHeader) generate_export_header(cmModLib) +set_target_properties(cmModLib PROPERTIES VERSION 1.0.1) + add_executable(testEXE main.cpp) target_link_libraries(cmModLib ZLIB::ZLIB) diff --git a/test cases/cmake/3 advanced no dep/subprojects/cmMod/CMakeLists.txt b/test cases/cmake/3 advanced no dep/subprojects/cmMod/CMakeLists.txt index 2fdd5a8..2f6267d 100644 --- a/test cases/cmake/3 advanced no dep/subprojects/cmMod/CMakeLists.txt +++ b/test cases/cmake/3 advanced no dep/subprojects/cmMod/CMakeLists.txt @@ -12,6 +12,8 @@ add_library(cmModLib SHARED lib/cmMod.cpp) include(GenerateExportHeader) generate_export_header(cmModLib) +set_target_properties(cmModLib PROPERTIES VERSION 1.0.1) + add_executable(testEXE main.cpp) target_link_libraries(testEXE cmModLib) |