CMake: Enable only C for lib and programs projects

This commit is contained in:
Issam E. Maghni authored and foo@bar.com committed 2021-02-07 19:39:04 -05:00
1 parent 856f38e6c5
commit 2636f53619
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
# in the COPYING file in the root directory of this source tree).
# ################################################################
project(libzstd)
project(libzstd C)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
option(ZSTD_BUILD_STATIC "BUILD STATIC LIBRARIES" ON)
+1 -1
View File
@@ -7,7 +7,7 @@
# in the COPYING file in the root directory of this source tree).
# ################################################################
project(programs)
project(programs C)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)