Skip to content

Commit faa2e1f

Browse files
authored
Clean up comments in CMakeLists.txt
Removed unnecessary comments regarding FetchContent_MakeAvailable usage and clarified the source directory path.
1 parent b23ffa7 commit faa2e1f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

flutter_libs/windows/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,8 @@ FetchContent_Declare(
7070
)
7171

7272
# FIXED: Use MakeAvailable instead of GetProperties/Populate
73-
# This handles the download and set-up internally and is the modern standard.
7473
FetchContent_MakeAvailable(objectbox-download)
7574

76-
# We still need the source directory path to point to the library files
77-
# After MakeAvailable, the directory variable is named <lowercaseName>_SOURCE_DIR
7875
set(objectbox_flutter_libs_bundled_libraries
7976
"${objectbox-download_SOURCE_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}objectbox${CMAKE_SHARED_LIBRARY_SUFFIX}"
8077
PARENT_SCOPE

0 commit comments

Comments
 (0)