Skip to content

Commit 09bc09b

Browse files
authored
Merge pull request nfrechette#14 from janisozaur/cxx
Mark the project as C++ only for CMake
2 parents 375f9c2 + 0e27b27 commit 09bc09b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required (VERSION 3.2)
2-
project(sjson-cpp)
2+
project(sjson-cpp CXX)
33

44
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")
55

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required (VERSION 3.2)
2-
project(sjson-cpp_unit_tests_root)
2+
project(sjson-cpp_unit_tests_root CXX)
33

44
if(PLATFORM_ANDROID)
55
add_subdirectory("${PROJECT_SOURCE_DIR}/main_android")

tests/main_generic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required (VERSION 3.2)
2-
project(sjson-cpp_unit_tests)
2+
project(sjson-cpp_unit_tests CXX)
33

44
set(CMAKE_CXX_STANDARD 11)
55

0 commit comments

Comments
 (0)