Fixed compiling on linux

This commit is contained in:
YourWishes committed 2022-02-14 11:10:17 -08:00
1 parent af2f9bd2a4
commit 0fd3bf459c
2 files changed
+8 -3

No files matched your search

+7 -2
View File
@@ -25,8 +25,13 @@ else()
message(FATAL_ERROR "Missing or invalid definition of TARGET_TYPE")
endif()
# Check game has been defined
if(NOT DEFINED TARGET_GAME)
message(FATAL_ERROR "Missing or invalid definition of TARGET_GAME")
endif()
# Set up the project
project(${TARGET_NAME} VERSION 1.0)
project(${TARGET_NAME} C)
add_executable(${PROJECT_NAME})
# Variables
@@ -81,4 +86,4 @@ tool_copy(locale_en
)
# Add actual game sources
add_subdirectory(src)
add_subdirectory(src)