diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-22 12:16:31 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-05-27 01:24:08 +0300 |
commit | 0714ba58c7e3683156a258649e723518c0e2ddc7 (patch) | |
tree | fe9de4f0b6e78511e92d9b9a018ff9aa7ac9cbe6 /test cases | |
parent | 0d19d334a8b8e6ebbb1ebdaa5658790a01fdc466 (diff) | |
download | meson-0714ba58c7e3683156a258649e723518c0e2ddc7.zip meson-0714ba58c7e3683156a258649e723518c0e2ddc7.tar.gz meson-0714ba58c7e3683156a258649e723518c0e2ddc7.tar.bz2 |
coredata: add cmake_prefix_path option
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/unit/60 cmake_prefix_path/meson.build | 4 | ||||
-rw-r--r-- | test cases/unit/60 cmake_prefix_path/prefix/lib/cmake/mesontest/mesontest-config.cmake | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test cases/unit/60 cmake_prefix_path/meson.build b/test cases/unit/60 cmake_prefix_path/meson.build new file mode 100644 index 0000000..442bbd3 --- /dev/null +++ b/test cases/unit/60 cmake_prefix_path/meson.build @@ -0,0 +1,4 @@ +project('cmake prefix path test') + +d = dependency('mesontest', method : 'cmake') +assert(d.version() == '1.2.3', 'Got the wrong version!') diff --git a/test cases/unit/60 cmake_prefix_path/prefix/lib/cmake/mesontest/mesontest-config.cmake b/test cases/unit/60 cmake_prefix_path/prefix/lib/cmake/mesontest/mesontest-config.cmake new file mode 100644 index 0000000..289b349 --- /dev/null +++ b/test cases/unit/60 cmake_prefix_path/prefix/lib/cmake/mesontest/mesontest-config.cmake @@ -0,0 +1,4 @@ +set(MESONTEST_VERSION "1.2.3") +set(MESONTEST_LIBRARIES "foo.so") +set(MESONTEST_INCLUDE_DIR "") +set(MESONTEST_FOUND "TRUE") |