diff --git a/modules/helpers.cmake b/modules/helpers.cmake index 545ebbf..53bc2cd 100644 --- a/modules/helpers.cmake +++ b/modules/helpers.cmake @@ -13,9 +13,6 @@ function(PostSetup) endfunction() function(AddFGLExecutable NAME SRC_SOURCES_LOCATION) - set(CMAKE_CXX_STANDARD 23) - set(CMAKE_CXX_STANDARD_REQUIRED ON) - file(GLOB_RECURSE M_SOURCES CONFIGURE_DEPENDS ${SRC_SOURCES_LOCATION}/**.cppm) @@ -28,7 +25,7 @@ function(AddFGLExecutable NAME SRC_SOURCES_LOCATION) add_executable(${NAME}) target_sources(${NAME} PUBLIC ${SOURCES}) - target_sources(${NAME} PUBLIC FILE_SET modules TYPE CXX_MODULES FILES ${M_SOURCES}) + # target_sources(${NAME} PUBLIC FILE_SET modules TYPE CXX_MODULES FILES ${M_SOURCES}) target_include_directories(${NAME} PRIVATE ${SRC_SOURCES_LOCATION}) set_target_properties(${NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")