diff --git a/BaseLib/CMakeLists.txt b/BaseLib/CMakeLists.txt
index cea7b04c4e0cbfb5b8974e109657221130af26a2..c1b597236010f8fd97e535d0574a5407806bd21d 100644
--- a/BaseLib/CMakeLists.txt
+++ b/BaseLib/CMakeLists.txt
@@ -27,9 +27,9 @@ if(MSVC)
 endif()
 
 if(QT4_FOUND)
-	target_link_libraries(BaseLib PUBLIC Qt4::QtXml Qt4::QtXmlPatterns)
+	target_link_libraries(BaseLib Qt4::QtXml Qt4::QtXmlPatterns)
 	if(WIN32 AND CMAKE_CROSSCOMPILING AND OPENSSL_FOUND)
-		target_link_libraries(BaseLib PUBLIC Qt4::QtNetwork ${OPENSSL_LIBRARIES} ws2_32)
+		target_link_libraries(BaseLib Qt4::QtNetwork ${OPENSSL_LIBRARIES} ws2_32)
 	endif()
 endif()
 
diff --git a/GeoLib/CMakeLists.txt b/GeoLib/CMakeLists.txt
index 820dd21cd99140b22baf49fd07836f3b5a85cb13..a1943bb4509a5505161763591023cbeeddcf7e2a 100644
--- a/GeoLib/CMakeLists.txt
+++ b/GeoLib/CMakeLists.txt
@@ -26,9 +26,9 @@ target_link_libraries(GeoLib
 )
 
 if(QT4_FOUND)
-	target_link_libraries(GeoLib PUBLIC Qt4::QtXml Qt4::QtXmlPatterns)
+	target_link_libraries(GeoLib Qt4::QtXml Qt4::QtXmlPatterns)
 	if(WIN32 AND CMAKE_CROSSCOMPILING AND OPENSSL_FOUND)
-		target_link_libraries(GeoLib PUBLIC Qt4::QtNetwork ${OPENSSL_LIBRARIES} ws2_32)
+		target_link_libraries(GeoLib Qt4::QtNetwork ${OPENSSL_LIBRARIES} ws2_32)
 	endif()
 endif()