do not use empty variable

This commit is contained in:
Sébastien Loriot 2024-08-30 15:58:57 +02:00
parent a82fb5088b
commit 04e90b7eb4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ foreach(cppfile ${cppfiles})
if("${cppfile}" STREQUAL "test_LAS.cpp")
if(TARGET CGAL::LASLIB_support)
create_single_source_cgal_program("test_LAS.cpp")
target_link_libraries(test_LAS PRIVATE ${CGAL_libs} CGAL::LASLIB_support)
target_link_libraries(test_LAS PRIVATE CGAL::LASLIB_support)
else()
message(STATUS "NOTICE: Some tests require the LASlib library, and will not be compiled.")
endif()