We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2395fb0 commit eb84cc6Copy full SHA for eb84cc6
CMakeLists.txt
@@ -159,7 +159,7 @@ if (ENABLE_VIEWPORT_TOOLBOX)
159
set(VIEWPORTTOOLBOX_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/lib/hydra-viewport-toolbox/include")
160
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_LIB hvt)
161
# Note: The multi-configuration generators (e.g., VS) always append the build type to the output directories
162
- if(CMAKE_CONFIGURATION_TYPES)
+ if(GENERATOR_IS_MULTI_CONFIG)
163
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_DLL_PATH "${CMAKE_BINARY_DIR}/lib/hydra-viewport-toolbox/bin/${CMAKE_BUILD_TYPE}")
164
else()
165
set(VIEWPORTTOOLBOX_VIEWPORTTOOLBOX_DLL_PATH "${CMAKE_BINARY_DIR}/lib/hydra-viewport-toolbox/bin")
0 commit comments