Skip to content

Commit

Permalink
- generate correct target platform from CMake
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20485 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed May 8, 2014
1 parent 89992fb commit c7b3954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.common
Expand Up @@ -416,7 +416,7 @@ graphstream-clean:
if test -f 3rdParty/graphstream/Makefile; then $(MAKE) -C 3rdParty/graphstream/ clean; fi

cjson:
cd 3rdParty/cJSON && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(CMAKE) -DCMAKE_BUILD_TYPE=Release ./ && make && cd ../../ && cp -f 3rdParty/cJSON/libcJSON.a build/lib/omc
cd 3rdParty/cJSON && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(CMAKE) -DCMAKE_BUILD_TYPE=Release ./ -G $(CMAKE_TARGET) && make && cd ../../ && cp -f 3rdParty/cJSON/libcJSON.a build/lib/omc

cjson-clean:
rm -f 3rdParty/cJSON/*.a

0 comments on commit c7b3954

Please sign in to comment.