Skip to content

Commit

Permalink
Fix adding Scheme tests to check target.
Browse files Browse the repository at this point in the history
TEST isn't a variable name, SCHEME_TGT_TESTS is.
  • Loading branch information
jralls committed Sep 26, 2020
1 parent bd115a3 commit 401299c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/cmake_modules/GncAddSchemeTargets.cmake
Expand Up @@ -283,7 +283,7 @@ function(gnc_add_scheme_targets _TARGET)

set(_TARGET_FILES "${_TARGET_FILES}" PARENT_SCOPE)

if(TEST)
if(SCHEME_TGT_TEST)
add_dependencies(check ${_TARGET})
else()
install(FILES ${_TARGET_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/${GUILE_REL_SITECCACHEDIR}/${SCHEME_TGT_OUTPUT_DIR})
Expand Down

0 comments on commit 401299c

Please sign in to comment.