summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d7e4c6a037..adbd3443d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,9 +8,9 @@ option(NBT_USE_ZLIB "Build additional zlib stream functionality" ON)
option(NBT_BUILD_TESTS "Build the unit tests. Requires CxxTest." ON)
if(NBT_NAME)
- message("Using override nbt++ name: ${NBT_NAME}")
+ message("Using override nbt++ name: ${NBT_NAME}")
else()
- set(NBT_NAME nbt++)
+ set(NBT_NAME nbt++)
endif()
# hide this from includers.
@@ -48,12 +48,12 @@ target_include_directories(${NBT_NAME} PUBLIC include ${CMAKE_CURRENT_BINARY_DIR
# Install it
if(DEFINED NBT_DEST_DIR)
- install(
- TARGETS ${NBT_NAME}
- ARCHIVE DESTINATION ${LIBRARY_DEST_DIR}
- RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
- LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
- )
+ install(
+ TARGETS ${NBT_NAME}
+ ARCHIVE DESTINATION ${LIBRARY_DEST_DIR}
+ RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
+ LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
+ )
endif()
if(NBT_USE_ZLIB)