Skip to content

Commit

Permalink
build: fixed CMake to link Digilent libs if available
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Jul 3, 2018
1 parent a8cb0ef commit 40e4a5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -60,6 +60,9 @@ target_link_libraries(jtaghal xptools)
if(FTD2XX_LIB)
target_link_libraries(jtaghal ftd2xx)
endif()
if(DJTG_LIB)
target_link_libraries(jtaghal djtg)
endif()
set_property(TARGET jtaghal PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET log PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET xptools PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit 40e4a5f

Please sign in to comment.