diff --git a/CMakeLists.txt b/CMakeLists.txt index 62ce5bec3b..b17bce0d64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.6.4) -project (SakuraEditor) +project (SakuraEditor LANGUAGES CXX) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) diff --git a/HeaderMake/CMakeLists.txt b/HeaderMake/CMakeLists.txt index 00ecf5fb3c..d0a14fcf6a 100644 --- a/HeaderMake/CMakeLists.txt +++ b/HeaderMake/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.6.4) set( project_name HeaderMake) # define a project name -project (${project_name}) +project (${project_name} LANGUAGES CXX) # define a variable SOURCE_FILES with file GLOB file(GLOB SOURCE_FILES *.cpp *.h) diff --git a/MakefileMake/CMakeLists.txt b/MakefileMake/CMakeLists.txt index 12aaa4274f..998f893ce6 100644 --- a/MakefileMake/CMakeLists.txt +++ b/MakefileMake/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.6.4) set( project_name MakefileMake) # define a project name -project (${project_name}) +project (${project_name} LANGUAGES CXX) # define a variable SOURCE_FILES with file GLOB file(GLOB SOURCE_FILES *.cpp *.h) diff --git a/sakura_core/CMakeLists.txt b/sakura_core/CMakeLists.txt index 9c32d26d97..6b1cd05c1b 100644 --- a/sakura_core/CMakeLists.txt +++ b/sakura_core/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.0.2) set(project_name sakura) # define a project name -project (${project_name}) +project (${project_name} LANGUAGES CXX) # set the project as the startup project set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT ${project_name}) diff --git a/sakura_lang_en_US/CMakeLists.txt b/sakura_lang_en_US/CMakeLists.txt index 2c80130383..b1f0cebcb6 100644 --- a/sakura_lang_en_US/CMakeLists.txt +++ b/sakura_lang_en_US/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.6.4) set(project_name sakura_lang_en_US) # define a project name -project (${project_name}) +project (${project_name} LANGUAGES CXX) include_directories(./)