LaunchAPPLServer: don't link to Navigation if Navigation.h not found

This commit is contained in:
Wolfgang Thaller 2019-09-14 02:20:09 +02:00
parent 92c0550526
commit d7b311cb34

View File

@ -123,11 +123,13 @@ if(HAVE_OPENTRANSPORT)
endif()
endif()
if(CMAKE_SYSTEM_NAME MATCHES RetroPPC)
target_link_libraries(LaunchAPPLServer -lNavigationLib)
endif()
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
target_link_libraries(LaunchAPPLServer -lNavigation.far)
if(HAVE_NAVIGATION)
if(CMAKE_SYSTEM_NAME MATCHES RetroPPC)
target_link_libraries(LaunchAPPLServer -lNavigationLib)
endif()
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
target_link_libraries(LaunchAPPLServer -lNavigation.far)
endif()
endif()
if(FALSE)