cmake: Group blake2 targets under same directory for IDEs

The blake2_static target has no specific FOLDER property set and thus
would appear ungrouped in Visual Studio's Solution Explorer.

With this change both the default blake2 target as well as
blake2_static appear in their own "blake2" subdirectory.
This commit is contained in:
PatTheMav 2025-04-25 18:42:38 +02:00 committed by Ryan Foster
parent 8bfc28f851
commit 9889fcdfcc

View File

@ -17,4 +17,7 @@ if(OS_WINDOWS)
target_include_directories(blake2_static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
set_target_properties(blake2_static PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set_target_properties(blake2 PROPERTIES FOLDER deps/blake2)
set_target_properties(blake2_static PROPERTIES FOLDER deps/blake2)
endif()