Skip to content

Commit eb84cc6

Browse files
authored
HYDRA-1976 : Fix configure step failing after clean build (#351)
1 parent 2395fb0 commit eb84cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ if (ENABLE_VIEWPORT_TOOLBOX)
159159
set(VIEWPORTTOOLBOX_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/lib/hydra-viewport-toolbox/include")
160160
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_LIB hvt)
161161
# Note: The multi-configuration generators (e.g., VS) always append the build type to the output directories
162-
if(CMAKE_CONFIGURATION_TYPES)
162+
if(GENERATOR_IS_MULTI_CONFIG)
163163
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_DLL_PATH "${CMAKE_BINARY_DIR}/lib/hydra-viewport-toolbox/bin/${CMAKE_BUILD_TYPE}")
164164
else()
165165
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_DLL_PATH "${CMAKE_BINARY_DIR}/lib/hydra-viewport-toolbox/bin")

0 commit comments

Comments
 (0)