diff options
author | Martin Müllenhaupt <mm+git@netlair.de> | 2017-07-24 09:16:31 (GMT) |
---|---|---|
committer | Martin Müllenhaupt <mm+git@netlair.de> | 2017-07-24 09:16:31 (GMT) |
commit | bc0375ae05460913e91edf2615784342a5bf4d33 (patch) | |
tree | fa75e5cf09fc2d85e1b312ce832e36e5f05735fa /src | |
parent | a540f21be61eb8602f37e0e427c361366447c8dc (diff) | |
download | mxe-bc0375ae05460913e91edf2615784342a5bf4d33.zip mxe-bc0375ae05460913e91edf2615784342a5bf4d33.tar.gz mxe-bc0375ae05460913e91edf2615784342a5bf4d33.tar.bz2 |
vtk: use SOURCE_DIR and CMAKE_SHARED_BOOL vars
Diffstat (limited to 'src')
-rw-r--r-- | src/vtk.mk | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -33,10 +33,10 @@ define $(PKG)_BUILD # now the cross compilation mkdir '$(1).cross_build' - cd '$(1).cross_build' && '$(TARGET)-cmake' \ + cd '$(1).cross_build' && '$(TARGET)-cmake' '$(SOURCE_DIR)' \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DVTKCompileTools_DIR='$(1).native_build' \ - -DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),FALSE,TRUE) \ + -DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \ -DVTK_Group_Qt=ON \ -DVTK_Group_Imaging=ON \ -DVTK_QT_VERSION=$($(PKG)_QT_VERSION) \ @@ -52,9 +52,9 @@ define $(PKG)_BUILD -DVTK_FORBID_DOWNLOADS=ON \ -DVTK_USE_SYSTEM_LIBHARU=ON \ -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTING=OFF \ - '$(1)' - $(MAKE) -C '$(1).cross_build' -j '$(JOBS)' VERBOSE=1 install + -DBUILD_TESTING=OFF + $(MAKE) -C '$(1).cross_build' -j '$(JOBS)' VERBOSE=1 + $(MAKE) -C '$(1).cross_build' -j 1 install VERBOSE=1 #now build the GUI -> Qt -> SimpleView Example mkdir '$(1).test' |