open-license-manager
2014-08-04 8af6b12ee8716d2004d13bbfc81281953975b466
CMakeLists.txt
@@ -16,6 +16,8 @@
SET(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "CMake verbose" FORCE)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/modules/")
if(WIN32)
   SET(PLATFORM_LIBS "")
   if(CMAKE_CL_64)
@@ -43,12 +45,9 @@
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS_DEBUG _DEBUG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/modules/")
#find_package(CryptoPP REQUIRED)
#include_directories(${CRYPTOPP_INCLUDE_DIRS})
#link_directories ( ${Boost_LIBRARY_DIRS} )
SET(Boost_USE_STATIC_LIBS ON)
@@ -63,6 +62,13 @@
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
list(APPEND EXTERNAL_LIBS ${OPENSSL_CRYPTO_LIBRARY})
if(NOT WIN32)
   FIND_PACKAGE(Dbus REQUIRED)
   include_directories(${DBUS_INCLUDE_DIR})
   include_directories(${DBUS_ARCH_INCLUDE_DIR})
   list(APPEND EXTERNAL_LIBS ${DBUS_LIBRARIES})
endif(NOT WIN32)
FIND_PACKAGE(Doxygen)
@@ -100,7 +106,6 @@
#include build directory to find build_properties.h
include_directories(${CMAKE_BINARY_DIR})
add_subdirectory(src)
#test are done with boost_tests:disable them if boost not found.
@@ -115,8 +120,6 @@
ENDIF(Boost_FOUND)
#include(build/modules/CmakeDebugVariables.txt)
message("")
message( STATUS "C compiler: " ${CMAKE_C_COMPILER})