diff --git a/CMakeLists.txt b/CMakeLists.txt index 94f69fd9..2507a048 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,8 +218,8 @@ endif () # Install targets. if (FMT_INSTALL) - set(FMT_LIB_DIR lib CACHE STRING - "Installation directory for libraries, relative to ${CMAKE_INSTALL_PREFIX}.") - install(TARGETS cppformat DESTINATION ${FMT_LIB_DIR}) - install(FILES format.h DESTINATION include/cppformat) + set(FMT_LIB_DIR lib CACHE STRING + "Installation directory for libraries, relative to ${CMAKE_INSTALL_PREFIX}.") + install(TARGETS cppformat DESTINATION ${FMT_LIB_DIR}) + install(FILES format.h DESTINATION include/cppformat) endif ()