diff --git a/ndk_compat/CMakeLists.txt b/ndk_compat/CMakeLists.txt index 186708a..37b3866 100644 --- a/ndk_compat/CMakeLists.txt +++ b/ndk_compat/CMakeLists.txt @@ -54,7 +54,7 @@ install( # # program : NDK compat test program # -if(ENABLE_TESTING) +if(BUILD_TESTING) add_executable(ndk-compat-test ndk-compat-test.c) target_link_libraries(ndk-compat-test PRIVATE ndk_compat) endif()