Skip to content

Commit

Permalink
Modified resource management
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreygarrett committed Jun 22, 2020
1 parent fd6d083 commit a216f62
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ target_include_directories(test_paths PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
$<INSTALL_INTERFACE:include>)

enable_testing()
add_test(test_paths bin/test_paths)

install(DIRECTORY include/ DESTINATION "${INSTALL_INCLUDE_DIR}")
install(DIRECTORY resource/ DESTINATION "${INSTALL_DATA_DIR}")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION "${INSTALL_INCLUDE_DIR}")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/resource/ DESTINATION "${INSTALL_DATA_DIR}")

# CONFIGURE
configure_file( # Really dirty trick, and should be removed.
Expand Down

0 comments on commit a216f62

Please sign in to comment.