Added variables that are used when installing instead of relative paths.

This commit is contained in:
Markus Makela
2015-04-25 06:53:59 +03:00
parent eec053924c
commit df9bc65430
17 changed files with 122 additions and 100 deletions

View File

@ -3,7 +3,7 @@ if(LOG_DEBUG)
endif()
add_library(log_manager SHARED log_manager.cc)
target_link_libraries(log_manager pthread aio stdc++)
install(TARGETS log_manager DESTINATION lib)
install(TARGETS log_manager DESTINATION ${MAXSCALE_LIBRARY_INSTALL})
if(BUILD_TESTS)
add_subdirectory(test)
endif()
endif()