Skip to content

Commit d009fd6

Browse files
committed
Move CXX in ext/pdo_firebird after return()
This makes the CXX optional when pdo_firebird is disabled.
1 parent ab5a0ff commit d009fd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/ext/pdo_firebird/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project(
22
PhpExtensionPdoFirebird
3-
LANGUAGES C CXX
3+
LANGUAGES C
44
)
55

66
include(CheckLibraryExists)
@@ -27,6 +27,8 @@ if(NOT EXT_PDO_FIREBIRD)
2727
return()
2828
endif()
2929

30+
enable_language(CXX)
31+
3032
if(EXT_PDO_FIREBIRD_SHARED)
3133
add_library(php_pdo_firebird SHARED)
3234
else()

0 commit comments

Comments
 (0)