Skip to content

Commit

Permalink
fix build error "macro names must be identifiers" (grimme-lab#962)
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Einbinder <joel.einbinder@gmail.com>
Signed-off-by: Johannes Gorges <58849467+gorges97@users.noreply.github.com>
  • Loading branch information
JoelEinbinder authored and gorges97 committed Mar 27, 2024
1 parent 7441275 commit c6a68a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ endif()

if(NOT TARGET "tblite::tblite" AND WITH_TBLITE)
find_package("tblite" REQUIRED)
add_compile_definitions(-DWITH_TBLITE)
add_compile_definitions(WITH_TBLITE)
endif()

if(NOT TARGET "cpcmx::cpcmx" AND WITH_CPCMX)
find_package("cpcmx" REQUIRED)
add_compile_definitions(-DWITH_CPCMX)
add_compile_definitions(WITH_CPCMX)
endif()

if(NOT TARGET "test-drive::test-drive")
Expand Down

0 comments on commit c6a68a7

Please sign in to comment.