CMake: Apply source groups using a function
This will add source groups to all projects, not only libraries. And there is no need anymore to include it in every project file.
This commit is contained in:
@@ -157,6 +157,7 @@ function(wx_set_common_target_properties target_name)
|
||||
set_target_properties(${target_name} PROPERTIES LINK_FLAGS "-pthread")
|
||||
endif()
|
||||
endif()
|
||||
wx_set_source_groups()
|
||||
endfunction()
|
||||
|
||||
# Set common properties on wx library target
|
||||
|
||||
Reference in New Issue
Block a user