Skip to content

Commit

Permalink
3.02.01 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rparolin committed Jul 18, 2016
1 parent 7c10a9d commit dd987c3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include_directories(source)
set(CMAKE_CXX_STANDARD 11)

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-pointer-bool-conversion")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-pointer-bool-conversion -Wno-unknown-warning-option")
endif()

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
Expand Down Expand Up @@ -51,10 +51,12 @@ add_executable(EASTLTest ${SOURCES})
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)

set(EASTLTest_Libraries
EASTL
EATest)
target_link_libraries(EASTLTest ${EASTLTest_Libraries} Threads::Threads)
set(EASTLTest_Libraries EASTL EATest)
if((NOT APPLE) AND (NOT MSVC))
target_link_libraries(EASTLTest ${EASTLTest_Libraries} Threads::Threads rt)
else()
target_link_libraries(EASTLTest ${EASTLTest_Libraries} Threads::Threads)
endif()

#-------------------------------------------------------------------------------------------
# Run Unit tests and verify the results.
Expand Down

0 comments on commit dd987c3

Please sign in to comment.