diff --git a/cmake/modules/BasicConfig.cmake b/cmake/modules/BasicConfig.cmake index bf4cc41..78d36e3 100644 --- a/cmake/modules/BasicConfig.cmake +++ b/cmake/modules/BasicConfig.cmake @@ -69,10 +69,11 @@ elseif (CONFIGURATION_TARGET_SUFFIX) set(TARGET_SUFFIX "-${CONFIGURATION_TARGET_SUFFIX}") endif () -# find standard installation directories -# note: Allow overriding CMAKE_INSTALL_LIBDIR but don't use the default from GNUInstallDirs (as an Arch Linux user this -# feels odd and I also want to avoid breaking existing build scripts). -set(CMAKE_INSTALL_LIBDIR "lib" CACHE STRING "sets the directory to install libraries to (within the prefix)") +# find standard installation directories - note: Allow overriding CMAKE_INSTALL_LIBDIR but don't use the default from +# GNUInstallDirs (as an Arch Linux user this feels odd and I also want to avoid breaking existing build scripts). +set(CMAKE_INSTALL_LIBDIR + "lib" + CACHE STRING "sets the directory to install libraries to (within the prefix)") include(GNUInstallDirs) # define a few variables diff --git a/cmake/modules/LibraryTarget.cmake b/cmake/modules/LibraryTarget.cmake index b478585..ead29a2 100644 --- a/cmake/modules/LibraryTarget.cmake +++ b/cmake/modules/LibraryTarget.cmake @@ -194,7 +194,6 @@ if (META_HEADER_ONLY_LIB) set_target_properties( ${META_TARGET_NAME}_interface_sources_for_qtcreator PROPERTIES VERSION "${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}" SOVERSION "${META_SOVERSION}" - CXX_STANDARD "${META_CXX_STANDARD}" AUTOGEN_TARGET_DEPENDS "${AUTOGEN_DEPS}") endif ()