Fix up CMAKE to use /MP and allow building through umbrella

This commit is contained in:
Silarn
2018-04-07 17:12:13 -05:00
parent a6085f8ecc
commit 9c1fb3cb21
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
ADD_COMPILE_OPTIONS($<$<CXX_COMPILER_ID:MSVC>:/MP>)
SET(PROJ_NAME installer_bundle)
+2 -1
View File
@@ -61,4 +61,5 @@ QT5_USE_MODULES(${PROJ_NAME} Widgets)
INSTALL(TARGETS ${PROJ_NAME}
RUNTIME DESTINATION bin/plugins)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJ_NAME}.pdb DESTINATION pdb)
INSTALL(FILES $<TARGET_PDB_FILE:${PROJ_NAME}>
DESTINATION pdb)