Skip to content

Commit a610f3b

Browse files
committed
[NOBIN] Enabled multi-processor compilation
1 parent ca0b84b commit a610f3b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

parser/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ else()
2020
get_target_property(QtCore_location Qt${QT_VERSION_MAJOR}::Core LOCATION)
2121
endif()
2222

23+
# multi-processor compilation
24+
if(MSVC)
25+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
26+
endif()
27+
2328
include_directories (include/bearparser)
2429

2530
set (win_hdrs

0 commit comments

Comments
 (0)