CMakeLists.txt: ihexParser must be built only when USE_FX2_LL is set
This commit is contained in:
parent
fad4a28103
commit
aaad826635
|
|
@ -221,7 +221,6 @@ list(APPEND OPENFPGALOADER_SOURCE
|
||||||
src/anlogicBitParser.cpp
|
src/anlogicBitParser.cpp
|
||||||
src/bitparser.cpp
|
src/bitparser.cpp
|
||||||
src/fsparser.cpp
|
src/fsparser.cpp
|
||||||
src/ihexParser.cpp
|
|
||||||
src/mcsParser.cpp
|
src/mcsParser.cpp
|
||||||
src/pofParser.cpp
|
src/pofParser.cpp
|
||||||
src/rawParser.cpp
|
src/rawParser.cpp
|
||||||
|
|
@ -232,7 +231,6 @@ list(APPEND OPENFPGALOADER_HEADERS
|
||||||
src/anlogicBitParser.hpp
|
src/anlogicBitParser.hpp
|
||||||
src/bitparser.hpp
|
src/bitparser.hpp
|
||||||
src/fsparser.hpp
|
src/fsparser.hpp
|
||||||
src/ihexParser.hpp
|
|
||||||
src/mcsParser.hpp
|
src/mcsParser.hpp
|
||||||
src/pofParser.hpp
|
src/pofParser.hpp
|
||||||
src/rawParser.hpp
|
src/rawParser.hpp
|
||||||
|
|
@ -447,8 +445,8 @@ list(APPEND OPENFPGALOADER_HEADERS src/libusb_ll.hpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (USE_FX2_LL)
|
if (USE_FX2_LL)
|
||||||
list(APPEND OPENFPGALOADER_SOURCE src/fx2_ll.cpp)
|
list(APPEND OPENFPGALOADER_SOURCE src/fx2_ll.cpp src/ihexParser.cpp)
|
||||||
list(APPEND OPENFPGALOADER_HEADERS src/fx2_ll.hpp)
|
list(APPEND OPENFPGALOADER_HEADERS src/fx2_ll.hpp src/ihexParser.hpp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(openFPGALoader
|
add_executable(openFPGALoader
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue