Findfunction2.cmake (420B)
1 # Makes it possible to find function2 through find_package(function2 REQUIRED) 2 # when this source directory was added to the CMake module path. 3 # For instance it could be done through adding this to the CMakeLists.txt 4 # file in the parent directory: 5 # ```cmake 6 # list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/function2") 7 # ``` 8 9 set(FU2_IS_FIND_INCLUDED ON) 10 include("${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt")