Skip to content

Commit 787d8af

Browse files
authored
Fix target_sources for modules (#279)
Removed usage of `FILE_SET CXX_MODULES` before CMake 2.28
1 parent 3db8da8 commit 787d8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ target_sources(
158158
src/platform/memory_mapping.cpp
159159
)
160160

161-
if(HAS_CXX20_MODULES AND CMAKE_VERSION VERSION_GREATER_EQUAL "3.23")
161+
if(HAS_CXX20_MODULES AND CMAKE_VERSION VERSION_GREATER_EQUAL "3.28")
162162
target_sources(
163163
${target_name} PUBLIC
164164
FILE_SET CXX_MODULES

0 commit comments

Comments
 (0)