Skip to content

Commit

Permalink
mark cmake project explicitly as C++ (see #309)
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 10, 2019
1 parent b2fad7a commit ad7ee0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif()
# Project configuration
#

project(EnTT VERSION 3.2.0)
project(EnTT VERSION 3.2.0 LANGUAGES CXX)

include(GNUInstallDirs)

Expand Down Expand Up @@ -191,6 +191,10 @@ if(BUILD_TESTING)
option(BUILD_MOD "Build mod example." OFF)
option(BUILD_SNAPSHOT "Build snapshot example." OFF)

if(BUILD_MOD)
enable_language(C)
endif()

enable_testing()
add_subdirectory(test)
endif()
Expand Down

0 comments on commit ad7ee0b

Please sign in to comment.