forked from lijiext/lammps
Condense export of debug macro
This commit is contained in:
parent
b99e005ca1
commit
85d36ad6c4
|
@ -24,8 +24,8 @@ target_include_directories(colvars PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/colvars)
|
||||||
target_link_libraries(lammps PRIVATE colvars)
|
target_link_libraries(lammps PRIVATE colvars)
|
||||||
|
|
||||||
if(COLVARS_DEBUG)
|
if(COLVARS_DEBUG)
|
||||||
target_compile_definitions(colvars PRIVATE -DCOLVARS_DEBUG)
|
# Need to export the macro publicly to also affect the proxy
|
||||||
target_compile_definitions(lammps PRIVATE -DCOLVARS_DEBUG) # For the proxy
|
target_compile_definitions(colvars PUBLIC -DCOLVARS_DEBUG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(COLVARS_LEPTON)
|
if(COLVARS_LEPTON)
|
||||||
|
|
Loading…
Reference in New Issue