diff options
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a7f89ba..23a915f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,20 +14,10 @@ # limitations under the License. ########################################################################### -project(CloudProxyService C CXX) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3) -cmake_minimum_required(VERSION 3.0) +project(CloudProxyService) -set(PROJECT_NAME "CloudProxy Service") -set(PROJECT_VERSION "1.0") -set(PROJECT_DESCRIPTION "CloudProxy Service") -set(PROJECT_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}) -set(PROJECT_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) -set(binding_install_dir ${PREFIX}/lib/cloudproxy) -set(PROJECT_BINDINGDIR ${binding_install_dir}) +include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake) -# get pkgconfig -INCLUDE(FindPkgConfig) -link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined) - -add_subdirectory(src) +install(DIRECTORY etc DESTINATION ./) |