Skip to content

Commit

Permalink
Fixed cmake installation directory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianPanov committed Jan 4, 2025
1 parent 979afcf commit a26bac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ find_package(Threads REQUIRED)

message("Compiler Version: ${CMAKE_CXX_COMPILER_VERSION}")

set(version 1.2.0)
set(version 1.3.0)

message("Adding source files")
set(LWLOG_SOURCE_FILES
Expand Down Expand Up @@ -34,8 +34,8 @@ include(GNUInstallDirs)
include(CMakePackageConfigHelpers)

install(
DIRECTORY ${CMAKE_SOURCE_DIR}/lwlog/src
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
DIRECTORY ${CMAKE_SOURCE_DIR}/lwlog/src/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lwlog
FILES_MATCHING PATTERN "*.h"
)

Expand Down

0 comments on commit a26bac8

Please sign in to comment.