Skip to content
Snippets Groups Projects
Commit aec9e85b authored by BtbN's avatar BtbN
Browse files

Improve ALL_BUILD.vcxproj.user copy check

parent b56a249f
No related branches found
No related tags found
No related merge requests found
...@@ -13,14 +13,10 @@ include(ObsCpack) ...@@ -13,14 +13,10 @@ include(ObsCpack)
add_definitions(-DOBS_VERSION="${OBS_VERSION}") add_definitions(-DOBS_VERSION="${OBS_VERSION}")
if(NOT _one_time_action_done) if(MSVC AND NOT EXISTS "${CMAKE_BINARY_DIR}/ALL_BUILD.vcxproj.user")
if(MSVC) file(GENERATE
file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/ALL_BUILD.vcxproj.user"
OUTPUT "${CMAKE_BINARY_DIR}/ALL_BUILD.vcxproj.user" INPUT "${CMAKE_SOURCE_DIR}/cmake/ALL_BUILD.vcxproj.user.in")
INPUT "${CMAKE_SOURCE_DIR}/cmake/ALL_BUILD.vcxproj.user.in"
CONDITION ${MSVC})
endif()
set(_one_time_action_done TRUE CACHE INTERNAL "")
endif() endif()
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment