Skip to content

Commit

Permalink
Merge pull request #11 from KyleFromKitware/optional-dynamic-code-gen…
Browse files Browse the repository at this point in the history
…eration

Make dynamic code generation optional
  • Loading branch information
eisenhauer authored Jun 20, 2019
2 parents f77bb26 + b70b972 commit 294f0a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ option(FFS_USE_DILL "Enable Dill code generation" ON)
if(FFS_USE_DILL)
find_package(dill 2.3.1 REQUIRED)
set(HAVE_DILL_H ON)
set(FFS_CONVERSION_GENERATION_DEFAULT ${DILL_HAS_NATIVE_DCG})
option(FFS_CONVERSION_GENERATION_DEFAULT "Enable dynamic code generation" ${DILL_HAS_NATIVE_DCG})
mark_as_advanced(FFS_CONVERSION_GENERATION_DEFAULT)
set(DO_DCG TRUE)
target_link_libraries(ffs PRIVATE dill::dill)
list(APPEND _pkg_config_private_reqs "dill >= ${dill_VERSION}")
Expand Down

0 comments on commit 294f0a2

Please sign in to comment.