Skip to content

Commit

Permalink
COMP: Fix link errors building double-conversion from vcpkg
Browse files Browse the repository at this point in the history
Fixed by ugly `link_directories` quick-fix.
See also #161 (comment)
  • Loading branch information
N-Dekker committed Aug 16, 2019
1 parent 82f367e commit 8b7946d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
cmake_minimum_required( VERSION 2.8 )

project( elastix )

# TODO Niels Dekker, August 2019: Quick and dirty fix to support building ITK from vcpkg, on azure (CI).
link_directories(
C:/vcpkg/installed/x64-windows # For lib/double-conversion.lib
)

set(CMAKE_CXX_STANDARD 11)

#---------------------------------------------------------------------
Expand Down

0 comments on commit 8b7946d

Please sign in to comment.