mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 17:10:40 +08:00
set include_directories only when needed.
This commit is contained in:
Vendored
+3
-1
@@ -92,7 +92,9 @@ if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
|
||||
endif()
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
if (PHMAP_BUILD_TESTS OR PHMAP_BUILD_EXAMPLES)
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
if (PHMAP_BUILD_TESTS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user