Skip to content

Commit

Permalink
Compilation on Linux (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardeau committed Jul 20, 2015
1 parent 6b34109 commit c3cc124
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/E57Support.cmake
Expand Up @@ -52,7 +52,11 @@ if( ${OPTION_USE_LIBE57} )
# manual version
if( LIBE57_INSTALL_DIR )
#libE57
target_link_libraries( ${ARGV0} debug ${LIBE57_INSTALL_DIR}/lib/E57RefImpl-d.lib optimized ${LIBE57_INSTALL_DIR}/lib/E57RefImpl.lib )
if (WIN32)
target_link_libraries( ${ARGV0} debug ${LIBE57_INSTALL_DIR}/lib/E57RefImpl-d.lib optimized ${LIBE57_INSTALL_DIR}/lib/E57RefImpl.lib )
elseif()
target_link_libraries( ${ARGV0} debug ${LIBE57_INSTALL_DIR}/lib/E57RefImpl-d.a optimized ${LIBE57_INSTALL_DIR}/lib/E57RefImpl.a )
endif()
#Xerces
target_link_libraries( ${ARGV0} debug ${Xerces_LIBRARY_DEBUG} optimized ${Xerces_LIBRARY_RELEASE} ${Boost_LIBRARIES} )
#Boost
Expand Down

0 comments on commit c3cc124

Please sign in to comment.