Skip to content

Commit 3bdb707

Browse files
tukssMaxSagebaum
authored andcommitted
add explicit CXX language setting in CMake
The default is C CXX, which pulls in an unnecessary dependency on a C compiler. While this is mostly irrelevant, this breaks the build in Spack >= 1.0 or forces us to add an explicit dependency on "c" there.
1 parent 95364ab commit 3bdb707

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ project(
66
${CODIPACK_NAME}
77
VERSION ${CODIPACK_VERSION}
88
DESCRIPTION "CoDiPack - Code Differentiation Package"
9-
HOMEPAGE_URL "http://scicomp.rptu.de/software/codi")
9+
HOMEPAGE_URL "http://scicomp.rptu.de/software/codi"
10+
LANGUAGES CXX)
1011

1112
add_library(${PROJECT_NAME} INTERFACE)
1213

0 commit comments

Comments
 (0)