diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 6d2c155784..07421220a8 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -33,10 +33,8 @@ include_directories( ${CURL_BINARY_DIR}/include # for "curl/curl.h" ) -if(ENABLE_CURLDEBUG) # running unittests require curl to compiled with CURLDEBUG - foreach(_testfile ${UNITPROGS}) - add_executable(${_testfile} EXCLUDE_FROM_ALL ${_testfile}.c ${UNITFILES}) - add_dependencies(testdeps ${_testfile}) - target_link_libraries(${_testfile} curltool curlu) - endforeach() -endif() +foreach(_testfile ${UNITPROGS}) + add_executable(${_testfile} EXCLUDE_FROM_ALL ${_testfile}.c ${UNITFILES}) + add_dependencies(testdeps ${_testfile}) + target_link_libraries(${_testfile} curltool curlu) +endforeach()