Skip to content

Commit

Permalink
Consolidate set_target_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mthierman committed Sep 27, 2024
1 parent 26d436a commit 578ea77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/wrap_standalone.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ function(target_add_standalone_wrapper)

set_target_properties(${SA_TARGET} PROPERTIES
WIN32_EXECUTABLE TRUE
OUTPUT_NAME ${SA_OUTPUT_NAME}
)

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
Expand All @@ -148,8 +149,6 @@ function(target_add_standalone_wrapper)

target_link_libraries(${SA_TARGET} PRIVATE base-sdk-wil ComCtl32.Lib)

set_target_properties(${SA_TARGET} PROPERTIES OUTPUT_NAME ${SA_OUTPUT_NAME})

elseif(UNIX)
target_sources(${SA_TARGET} PRIVATE
${CLAP_WRAPPER_CMAKE_CURRENT_SOURCE_DIR}/src/wrapasstandalone.cpp)
Expand Down

0 comments on commit 578ea77

Please sign in to comment.