Skip to content

Commit

Permalink
fix dependencies of debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
xaqq committed Dec 22, 2014
1 parent e5016bc commit 0305738
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
url = https://github.com/xaqq/libpifacedigital.git
[submodule "zmqpp"]
path = zmqpp
url = https://github.com/xaqq/zmqpp.git
url = https://github.com/zeromq/zmqpp.git
[submodule "spdlog"]
path = spdlog
url = https://github.com/xaqq/spdlog.git
Expand Down
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX11_FLAGS}")

#Build Options
option(LEOSAC_BUILD_MODULES "build-modules" ON)
option(LEOSAC_BUILD_TESTS "build-tests" ON)
option(LEOSAC_BUILD_TESTS "build-tests" OFF)
option(LEOSAC_GPROF "gprof" OFF)

if(LEOSAC_GPROF)
Expand All @@ -54,13 +54,13 @@ add_subdirectory(zmqpp)
add_subdirectory(src)
add_subdirectory(cfg)

#if(LEOSAC_BUILD_TESTS)
# enable_testing()
# add_subdirectory(test)
#endif()
if(LEOSAC_BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif()
# IDE hackfix, will always build test.
enable_testing()
add_subdirectory(test)
#enable_testing()
#add_subdirectory(test)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/scripts/build_ipconfig.sh DESTINATION ${LEOSAC_BINARY_DIR})
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/scripts/load_ipconfig.sh DESTINATION ${LEOSAC_BINARY_DIR})
Expand Down
2 changes: 1 addition & 1 deletion pkg/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Build-Depends: debhelper (>= 9), cmake, libtclap-dev, libboost-all-dev, g++ (>=

Package: leosac
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-all-dev, libtclap-dev,
Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-serialization1.49.0, libtclap-dev
Description: open source access control
1 change: 1 addition & 0 deletions pkg/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ override_dh_auto_configure:
dh_auto_configure -- -DLEOSAC_PLATFORM=None -DCMAKE_BUILD_TYPE=Release \
-DZMQ_BUILD_TESTS=0 -DZMQPP_BUILD_STATIC=0 \
-DZMQPP_LIBZMQ_CMAKE=1 \
-DZEROMQ_LIB_DIR=`pwd`/libzmq/.libs/ \
-DZEROMQ_INCLUDE_DIR=`pwd`/libzmq/include


Expand Down

0 comments on commit 0305738

Please sign in to comment.