Skip to content

Commit

Permalink
Fix yaml in vsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallo Alejandro authored and alejandrogallo committed Sep 23, 2022
1 parent 3c1b98f commit d7f21bf
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions extern/yaml-cpp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ YAML_INSTALL = cd $(YAML_BUILD_PATH) && $(MAKE) install

################################################################################

nobase_include_HEADERS = $(patsubst $(YAML_SRC_PATH)/%,\
./%,\
$(shell find $(YAML_SRC_PATH)/include -type f))

lib_LIBRARIES = lib/libyaml-cpp.a
lib_libyaml_cpp_a_SOURCES = $(YAML_STATIC_LIB)
lib/libyaml-cpp.a: $(YAML_STATIC_LIB)
mkdir -p lib
$(YAML_INSTALL)
## this is an ugly hack, just like me
touch $@
cp $< $@

################################################################################

Expand Down Expand Up @@ -54,6 +51,7 @@ clean-local:
-rm -rf include
-rm -rf lib
-rm -rf share
-rm -rf lib64

fetch: $(YAML_CMAKE)

Expand Down

0 comments on commit d7f21bf

Please sign in to comment.