Browse Source

Add l3pp as project

Former-commit-id: 2ea4009282
tempestpy_adaptions
hbruintjes 9 years ago
parent
commit
067b43525b
  1. 10
      CMakeLists.txt
  2. 10
      resources/3rdparty/CMakeLists.txt

10
CMakeLists.txt

@ -200,6 +200,16 @@ message(STATUS "StoRM - Using Compiler Configuration: ${STORM_COMPILED_BY}")
# in the the system does not have a library # in the the system does not have a library
add_subdirectory(resources/3rdparty) add_subdirectory(resources/3rdparty)
#############################################################
##
## l3pp
##
#############################################################
# l3pp is set up as external project
include_directories(${l3pp_INCLUDE})
add_dependencies(resources l3pp)
############################################################# #############################################################
## ##
## gmm ## gmm

10
resources/3rdparty/CMakeLists.txt

@ -81,3 +81,13 @@ set(GTEST_INCLUDE_DIR ${source_dir}/include PARENT_SCOPE)
# Specify MainTest's link libraries # Specify MainTest's link libraries
ExternalProject_Get_Property(googletest binary_dir) ExternalProject_Get_Property(googletest binary_dir)
set(GTEST_LIBRARIES ${binary_dir}/libgtest.a ${binary_dir}/libgtest_main.a PARENT_SCOPE) set(GTEST_LIBRARIES ${binary_dir}/libgtest.a ${binary_dir}/libgtest_main.a PARENT_SCOPE)
ExternalProject_Add(
l3pp
GIT_REPOSITORY https://github.com/hbruintjes/l3pp.git
GIT_TAG master
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/l3pp
LOG_INSTALL ON
)
ExternalProject_Get_Property(l3pp source_dir)
set(l3pp_INCLUDE "${source_dir}/" PARENT_SCOPE)
Loading…
Cancel
Save