Skip to content

Commit

Permalink
don't explicitly link to Boost_LIBRARIES, because when we embed, we d…
Browse files Browse the repository at this point in the history
…on't have that defined
  • Loading branch information
hobu committed Jan 3, 2013
1 parent 66d334b commit a2d7fae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,25 @@ endif(PCINFO)
if(PC2PC)
list(APPEND PDAL_UTILITIES ${PC2PC})
add_executable(${PC2PC} pc2pc.cpp ${COMMON_APP_SOURCES})
target_link_libraries(${PC2PC} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY})
target_link_libraries(${PC2PC} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} )
endif()

if(PCPIPELINE)
list(APPEND PDAL_UTILITIES ${PCPIPELINE})
add_executable(${PCPIPELINE} pcpipeline.cpp ${COMMON_APP_SOURCES})
target_link_libraries(${PCPIPELINE} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY})
target_link_libraries(${PCPIPELINE} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} )
endif()

if(PCQUERY)
list(APPEND PDAL_UTILITIES ${PCQUERY})
add_executable(${PCQUERY} pcquery.cpp ${COMMON_APP_SOURCES})
target_link_libraries(${PCQUERY} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY})
target_link_libraries(${PCQUERY} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} )
endif()

if(PCEQUAL)
list(APPEND PDAL_UTILITIES ${PCEQUAL})
add_executable(${PCEQUAL} pcequal.cpp ${COMMON_APP_SOURCES})
target_link_libraries(${PCEQUAL} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY})
target_link_libraries(${PCEQUAL} ${PDAL_LIB_NAME} ${Boost_LIBRARIES} )
endif()

#------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ if (WIN32)
endif()
else()
target_link_libraries(${APPS_CPP_DEPENDENCIES}
${Boost_LIBRARIES} ${Boost_FILESYSTEM_LIBRARY})
${Boost_LIBRARIES} )

endif(WIN32)

Expand Down

0 comments on commit a2d7fae

Please sign in to comment.