Skip to content

Commit 5ea02ea

Browse files
committed
Fix TestApp on FreeBSD
1 parent 1e8eedf commit 5ea02ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testapp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ if(NOT WIN32)
300300
)
301301
endif()
302302

303-
if(NOT FREEBSD)
303+
if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
304304
# Connector needs to Link with libresolv
305305
set_property(TARGET MySQL::conncpp
306306
APPEND PROPERTY INTERFACE_LINK_LIBRARIES resolv

0 commit comments

Comments
 (0)