Try to fix compilation under MacOS

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2023-11-30 13:28:09 -05:00
parent 3e51197ae4
commit 290ed59d0b
5 changed files with 13 additions and 61 deletions
+1 -6
View File
@@ -6,10 +6,7 @@
cmake_minimum_required(VERSION 3.1...3.22)
# Initialize the project.
project(kernel)
enable_language(C)
enable_language(ASM)
project(kernel C ASM)
# =============================================================================
# Set the main file names.
@@ -35,8 +32,6 @@ option(ENABLE_SCHEDULER_FEEDBACK "Enables scheduling feedback on terminal." OFF)
# ASSEMBLY
# =============================================================================
# Enable the assembly language.
enable_language(ASM)
# Find the NASM compiler.
find_program(ASM_COMPILER NAMES nasm HINTS /usr/bin/ /usr/local/bin/)
# Mark the variable ASM_COMPILER as advanced.