Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
cmake: Actually add sources to the Core component
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Sep 3, 2023
1 parent 24964b0 commit ef25d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,6 @@ streamfx_add_library(StreamFX_Core STATIC EXCLUDE_FROM_ALL)
add_library(StreamFX::Core ALIAS StreamFX_Core)

# Register the library
target_sources(StreamFX_Core PRIVATE ${PROJECT_FILES})
target_link_libraries(StreamFX_Core
PRIVATE ${PROJECT_LIBRARIES}
PUBLIC OBS::libobs
Expand Down Expand Up @@ -2111,7 +2110,7 @@ set_source_files_properties(${PROJECT_DATA} ${PROJECT_TEMPLATES} ${PROJECT_UI} $
HEADER_FILE_ONLY ON
)

# Enable Qt if needed
# Enable Qt if needed
if(Qt5_Found OR Qt6_FOUND)
set_target_properties(StreamFX_Core PROPERTIES
AUTOUIC ON
Expand All @@ -2130,6 +2129,7 @@ if(Qt5_Found OR Qt6_FOUND)
)
endif()

target_sources(StreamFX_Core PRIVATE ${PROJECT_FILES})

################################################################################
# Components
Expand Down

0 comments on commit ef25d72

Please sign in to comment.