Commit f0c4eab2 authored by Philipp Götze's avatar Philipp Götze

Adapted installation process

parent dae1195f
......@@ -11,7 +11,7 @@ set (PTable_VERSION_MINOR 1)
################################################################################
# Installation path
if(!PTABLE_DIR)
if(NOT PTABLE_DIR)
set(PTABLE_DIR "/usr/local/ptable")
endif()
......@@ -150,7 +150,8 @@ foreach(LIB ${PTABLE_LIBS})
install(TARGETS ${LIB} DESTINATION ${PTABLE_LIB_DIR})
endforeach(LIB)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/"
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/core"
"${CMAKE_BINARY_DIR}/generated/"
"${THIRD_PARTY_DIR}/variant/include/mpark"
DESTINATION ${PTABLE_INCLUDE_DIR}
FILES_MATCHING
......@@ -158,5 +159,10 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/"
PATTERN "*.h"
)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/PBPTree.hpp"
"${CMAKE_CURRENT_SOURCE_DIR}/PTable.hpp"
DESTINATION ${PTABLE_INCLUDE_DIR}
)
# show used compiler
message("Using Compiler: ${CMAKE_CXX_COMPILER_ID}.")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment