Hi, Fabrice
Fabrice Crohas wrote:
> Hi Andrew,
> 
>      Very good, want to see that on some other maps i got, with more 
> elevation :)
>      Hope your patch come soon. Want to play with.
I added. You can play with it. enjoy;)
> 
>      Here is a small patch to compile with Visual Studio.
> 
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt    (revision 794)
> +++ CMakeLists.txt    (working copy)
> @@ -265,7 +265,9 @@
>  IF(WIN32)
>    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} 
> /subsystem:windows")
>    add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
> -  target_link_libraries(qlandkartegt gdal_i proj_i qtmain.lib 
> ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} ${QT_QTXML_LIBRARIES} 
> ${QL_OPENGL_LIBRARIES})
> +  SET(OPENGL_LIBRARIES "opengl32.lib")
> +  SET(OPENGL_LIBRARIES_DIR "C:/Program Files/Microsoft 
> SDKs/Windows/v6.0A/Lib")
I don't think that hard codded path is good idea. may be use FIND_PATH?
I use cmake the first time in this project and have not windows host.
Oliver, can you see on this patch and correct it if it needed?
> +  target_link_libraries(qlandkartegt gdal_i proj_i qtmain.lib 
> ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} ${QT_QTXML_LIBRARIES} 
> ${QL_OPENGL_LIBRARIES} ${OPENGL_LIBRARIES})
>  ENDIF(WIN32)
>  
> 
> Regards,
> 
> Fabrice
> 
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QLandkarte-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkarte-users

Reply via email to