|
|
|
@ -13,6 +13,8 @@ IF(CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
|
#ENDIF()
|
|
|
|
|
|
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
SET(HAVE_HASH_MAP 0)
|
|
|
|
|
SET(HASH_MAP_CLASS unordered_map)
|
|
|
|
|
|
|
|
|
@ -65,16 +67,8 @@ IF(CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
|
MESSAGE(SEND_ERROR "Could not find a working hash map implementation. Please install GCC >= 4.4, and all necessary 32-bit C++ development libraries.")
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
IF(UNIX)
|
|
|
|
|
FIND_PACKAGE(Threads)
|
|
|
|
|
|
|
|
|
|
ELSE()
|
|
|
|
|
SET(HASH_MAP_H <hash_map>)
|
|
|
|
|
SET(HASH_NAMESPACE std)
|
|
|
|
|
SET(HASH_SET_H <hash_set>)
|
|
|
|
|
SET(HAVE_HASH_MAP 1)
|
|
|
|
|
SET(HAVE_HASH_SET 1)
|
|
|
|
|
SET(HASH_MAP_CLASS hash_map)
|
|
|
|
|
SET(HASH_SET_CLASS hash_set)
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h")
|
|
|
|
|