Skip to content
Snippets Groups Projects
Commit 52688f40 authored by Ammar Nejati's avatar Ammar Nejati
Browse files

CMake: Move `AssertLibraryFunction` and `FindPkgVersion` to `cmake/commons` folder

parent 1f23f46c
No related branches found
No related tags found
1 merge request!411Remove PkgConfig dependence on Windows
Pipeline #47408 passed
...@@ -26,7 +26,7 @@ if(NOT WIN32) ...@@ -26,7 +26,7 @@ if(NOT WIN32)
endif() endif()
endif() endif()
else() else()
include(FindPkgVersion) include(commons/FindPkgVersion)
findPkgVersion( findPkgVersion(
"cerf" # libname "cerf" # libname
"" # use default config file "" # use default config file
...@@ -89,7 +89,7 @@ endif() ...@@ -89,7 +89,7 @@ endif()
mark_as_advanced(Cerf_INCLUDE_DIR Cerf_LIBRARIES Cerf_IS_CPP) mark_as_advanced(Cerf_INCLUDE_DIR Cerf_LIBRARIES Cerf_IS_CPP)
include(AssertLibraryFunction) include(commons/AssertLibraryFunction)
assert_library_function(Cerf cerf "") assert_library_function(Cerf cerf "")
assert_library_function(Cerf dawson "") assert_library_function(Cerf dawson "")
assert_library_function(Cerf voigt "") assert_library_function(Cerf voigt "")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment