Skip to content

Commit

Permalink
#1435: update EngFormat-Cpp library
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Jan 13, 2022
1 parent 1e31693 commit 65af4ee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/EngFormat-Cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)

add_library(${PROJECT_NAME} include/EngFormat-Cpp/eng_format.hpp src/eng_format.cpp)

target_include_directories(${PROJECT_NAME} PUBLIC
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

Expand All @@ -14,3 +14,10 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
add_subdirectory(test)
endif()
endif()

install(
DIRECTORY include/EngFormat-Cpp
DESTINATION include
CONFIGURATIONS ${build_type_list}
FILES_MATCHING PATTERN "*"
)

0 comments on commit 65af4ee

Please sign in to comment.