Skip to content

Commit

Permalink
c: Stop passing -C to ctest (#319)
Browse files Browse the repository at this point in the history
The CONFIGURATION variable is unset, and passing -C without a value
breaks with cmake 3.31.0.
  • Loading branch information
musicinmybrain authored Nov 15, 2024
1 parent c1fab69 commit 256ec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ add_custom_command(
TARGET gherkinexe
COMMENT "Run tests"
POST_BUILD
COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
COMMAND ${CMAKE_CTEST_COMMAND}
)
############ Installation section ############
set(include_install_dir "include")
Expand Down

0 comments on commit 256ec2a

Please sign in to comment.