Apply cmake-format

This commit is contained in:
Martchus 2020-02-04 11:01:46 +01:00
parent c97dfbfd4c
commit dcb1d896c2
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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 ()