Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Gnucash/gnucash
Browse files Browse the repository at this point in the history
  • Loading branch information
c-holtermann committed Nov 2, 2014
2 parents 3fc6239 + 6c2a42b commit d2ed373
Show file tree
Hide file tree
Showing 577 changed files with 321,581 additions and 138,933 deletions.
20 changes: 20 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,26 @@ IF (NOT GUILE_EXECUTABLE)
MESSAGe (SEND_ERROR "The guile executable was not found, but is required. Please set GUILE_EXECUTABLE.")
ENDIF (NOT GUILE_EXECUTABLE)

#BOOST
SET (Boost_USE_STATIC_LIBS OFF)
SET (Boost_USE_MULTITHREADED ON)
SET (Boost_USE_STATIC_RUNTIME OFF)
SET (Boost_FIND_QUIETLY ON)
FIND_PACKAGE (Boost 1.50.0 REQUIRED COMPONENTS chrono date_time filesystem log program_options regex signals system) # test)
# boost-test currently can't be found by FindBoost.cmake because the
# shared library might be named libboost_unit_test_framework.so

IF (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
# add_executable(progname file1.cxx file2.cxx)
# target_link_libraries(progname ${Boost_LIBRARIES})
ELSE (Boost_FOUND)
MESSAGE (SEND_ERROR "Boost 1.50.0 or later is not installed, and is required. Please install it and ensure that the following libraries are built: chrono, date_time, filesystem, log, program_options, regex, signals, system, and test.")
ENDIF (Boost_FOUND)

# Also, set the C++ version to c++11
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

# ############################################################

# libdbi
Expand Down
Loading

0 comments on commit d2ed373

Please sign in to comment.