diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bd1c7e..491d38f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,8 @@ endif() set(EXPORT_NAMESPACE "${PROJECT_NAME}::") +include(GNUInstallDirs) + # SimpleIni is a header-only library. The ConvertUTF.c/h files in this repository # are only required if users define SI_CONVERT_GENERIC. In that case, users must # manually copy and compile ConvertUTF.c into their own projects. @@ -26,8 +28,6 @@ target_include_directories(${PROJECT_NAME} INTERFACE $ ) -include(GNUInstallDirs) - include(CMakePackageConfigHelpers) write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake VERSION ${PROJECT_VERSION}