Replace boost thread with std thread for queue; refine cmake files.
This commit is contained in:
Vendored
+1
-14
@@ -1,19 +1,6 @@
|
||||
if(UNIX)
|
||||
add_definitions(-std=c++11)
|
||||
endif()
|
||||
|
||||
set(SRCS
|
||||
gtest-all.cc
|
||||
gtest_main.cc
|
||||
)
|
||||
|
||||
#add_definitions(-DLIBCONFIG_EXPORTS -DYY_NO_UNISTD_H -DYY_USE_CONST)
|
||||
|
||||
add_library(gtest ${SRCS})
|
||||
|
||||
#if(MSVC)
|
||||
#set_target_properties(libconfig PROPERTIES COMPILE_FLAGS "/wd4290")
|
||||
#endif()
|
||||
|
||||
install(TARGETS gtest DESTINATION .)
|
||||
|
||||
add_library(gtest STATIC ${SRCS})
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
project(pugixml)
|
||||
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(HEADERS pugixml.hpp pugiconfig.hpp)
|
||||
set(SOURCES ${HEADERS} pugixml.cpp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user