Explorar o código

Add language requirements to CMakeLists.txt

Moritz Wanzenböck %!s(int64=6) %!d(string=hai) anos
pai
achega
6f61d20461
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 2.8)
 
-project(HDF4CPP)
+project(HDF4CPP LANGUAGES CXX)
 
 list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
 
@@ -103,4 +103,4 @@ add_subdirectory(examples)
 install(TARGETS hdf4cpp DESTINATION lib)
 install(FILES ${HEADERS}
         DESTINATION "include/hdf4cpp"
-        )
+        )