Skip to content

Commit bf221cc

Browse files
fix(cmake): remove potential module support lol
1 parent e7dac87 commit bf221cc

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.28 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
22

33

44
# Set defaults before project call

cmake/AddPrettyParser.cmake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Add a new parser library
22
function(add_pretty_parser TARGET)
3-
cmake_parse_arguments(PARSE_ARGV 1 OPTIONS "C" "" "DEPS;PRECOMPILED_HEADERS;SOURCES;MODULES")
3+
cmake_parse_arguments(PARSE_ARGV 1 OPTIONS "C" "" "DEPS;PRECOMPILED_HEADERS;SOURCES")
44

55
if(OPTIONS_C)
66
add_library(${TARGET}c SHARED ${${PROJECT_NAME}c_SOURCES} ${OPTIONS_PRECOMPILED_HEADERS} ${OPTIONS_SOURCES})
@@ -10,9 +10,6 @@ function(add_pretty_parser TARGET)
1010
set(TARGET "${TARGET}c")
1111
else()
1212
add_library(${TARGET} STATIC ${OPTIONS_PRECOMPILED_HEADERS} ${OPTIONS_SOURCES})
13-
if(NOT ("MODULES" IN_LIST OPTIONS_UNPARSED_ARGUMENTS))
14-
target_sources(${TARGET} PUBLIC FILE_SET CXX_MODULES FILES ${OPTIONS_MODULES})
15-
endif()
1613
endif()
1714
if(NOT ("PRECOMPILED_HEADERS" IN_LIST OPTIONS_UNPARSED_ARGUMENTS))
1815
target_precompile_headers(${TARGET} PUBLIC ${OPTIONS_HEADERS})

0 commit comments

Comments
 (0)