diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-02 10:59:25 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-02 10:59:25 +0200 |
commit | cd2028434766e10feca55afec8a2508ff6a86e43 (patch) | |
tree | e8892366302e5d4352c18fbce3b5c5f73ae4bd60 | |
parent | b720a7fddc06f116808758ef021d9ebfeaa89551 (diff) | |
download | nextpnr-cd2028434766e10feca55afec8a2508ff6a86e43.tar.gz nextpnr-cd2028434766e10feca55afec8a2508ff6a86e43.tar.bz2 nextpnr-cd2028434766e10feca55afec8a2508ff6a86e43.zip |
Fix link on windows
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ad21b04d..0c81692d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,14 +163,14 @@ foreach (family ${FAMILIES}) target_compile_definitions(${target} PRIVATE NEXTPNR_NAMESPACE=nextpnr_${family} ARCH_${ufamily} ARCHNAME=${family}) target_link_libraries(${target} LINK_PUBLIC ${Boost_LIBRARIES}) add_sanitizers(${target}) - if (BUILD_PYTHON) - target_link_libraries(${target} LINK_PUBLIC ${PYTHON_LIBRARIES}) - endif() if (BUILD_GUI) target_include_directories(${target} PRIVATE gui/${family}/ gui/) target_compile_definitions(${target} PRIVATE QT_NO_KEYWORDS) target_link_libraries(${target} LINK_PUBLIC gui_${family} ${GUI_LIBRARY_FILES_${ufamily}}) endif() + if (BUILD_PYTHON) + target_link_libraries(${target} LINK_PUBLIC ${PYTHON_LIBRARIES}) + endif() endforeach (target) endforeach (family) |