Fixing test build on gcc

This commit is contained in:
Michael Tryby
2019-03-21 18:08:05 -04:00
parent 0c56df4041
commit 48facd89d0
21 changed files with 47 additions and 43 deletions

View File

@@ -12,7 +12,6 @@
#Setup CMake to run tests
enable_testing()
# Sets for output directory for executables and libraries.
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
@@ -25,6 +24,7 @@ IF(MSVC)
set(Boost_DEBUG OFF)
set(Boost_DETAILED_FAILURE_MSG OFF)
set(Boost_USE_STATIC_LIBS OFF)
add_definitions(-DBOOST_ALL_DYN_LINK)
ENDIF(MSVC)
set(Boost_THREAD_FOUND OFF)