Skip to content

Commit adf2ab7

Browse files
committed
Added: INT_DEBUG as PUBLIC option for Debug build.
Added: Missing install of NonLinEl app.
1 parent a6a590f commit adf2ab7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ if(NOT TARGET IFEM::Shell)
3131
add_subdirectory(Shell)
3232
endif()
3333

34+
if(VERBOSE_DEBUG GREATER 0)
35+
target_compile_definitions(Elasticity PUBLIC $<$<CONFIG:Debug>:INT_DEBUG=${VERBOSE_DEBUG}>)
36+
endif()
37+
3438
ifem_add_dependency_dir(
3539
APP
3640
Elasticity
@@ -488,4 +492,4 @@ ifem_add_doc_target(
488492

489493
# Installation
490494
include(GNUInstallDirs)
491-
install(TARGETS LinEl ShellEl DESTINATION ${CMAKE_INSTALL_BINDIR})
495+
install(TARGETS LinEl ShellEl NonLinEl DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)