Parcourir la source

CMake: Set output directory of open62541Config.cmake to the build dir to allow usage of -Dopen62541_DIR

Stefan Profanter il y a 5 ans
Parent
commit
aa685ff4e8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1164,7 +1164,7 @@ endif()
 
 include(CMakePackageConfigHelpers)
 configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake/open62541Config.cmake.in"
-                              "${CMAKE_CURRENT_BINARY_DIR}/cmake/open62541Config.cmake"
+                              "${CMAKE_CURRENT_BINARY_DIR}/open62541Config.cmake"
                               INSTALL_DESTINATION "${cmake_configfile_install}"
                               PATH_VARS target_install_dest_name
                                         macros_install_dest_name