diff CMakeLists.txt @ 194:8548dc425697

sys/osx: remove all objective-c++ stuff mmmm :)
author Paper <mrpapersonic@gmail.com>
date Thu, 07 Dec 2023 03:17:05 -0500
parents 649786bae914
children 975a3f0965e2
line wrap: on
line diff
--- a/CMakeLists.txt	Thu Dec 07 01:56:39 2023 -0500
+++ b/CMakeLists.txt	Thu Dec 07 03:17:05 2023 -0500
@@ -1,10 +1,6 @@
 cmake_minimum_required(VERSION 3.18)
 project(minori LANGUAGES CXX VERSION 0.1.0)
 
-if(APPLE)
-	enable_language(OBJCXX)
-endif()
-
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
@@ -162,8 +158,8 @@
 	set_source_files_properties(${app_icon_osx} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
 
 	list(APPEND SRC_FILES
-		src/sys/osx/dark_theme.mm
-		src/sys/osx/filesystem.mm
+		src/sys/osx/dark_theme.cc
+		src/sys/osx/filesystem.cc
 		${app_icon_osx}
 	)
 elseif(WIN32) # Windows