Skip to content

Commit

Permalink
Unbreak debug builds (#704)
Browse files Browse the repository at this point in the history
* Unbreak debug builds

Oops.
  • Loading branch information
NiLuJe committed Jul 9, 2018
1 parent cbbebcc commit fe3db4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions thirdparty/fbink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ ep_get_binary_dir(BINARY_DIR)
set(BUILD_CMD sh -c "$(MAKE) MINIMAL=1 CROSS_TC=\"${CROSS_TC}\" CFLAGS=\"${CFLAGS}\" LDFLAGS=\"${LDFLAGS}\" strip")
# We build in-tree...
set(INSTALL_CMD1 ${CMAKE_COMMAND} -E make_directory ${BINARY_DIR})
set(INSTALL_CMD2 ${CMAKE_COMMAND} -E rename ${SOURCE_DIR}/Release/fbink ${BINARY_DIR}/fbink)
if($ENV{DEBUG})
set(INSTALL_CMD2 ${CMAKE_COMMAND} -E rename ${SOURCE_DIR}/Debug/fbink ${BINARY_DIR}/fbink)
else()
set(INSTALL_CMD2 ${CMAKE_COMMAND} -E rename ${SOURCE_DIR}/Release/fbink ${BINARY_DIR}/fbink)
endif()

ko_write_gitclone_script(
GIT_CLONE_SCRIPT_FILENAME
https://github.com/NiLuJe/FBInk.git
v0.9.14
7c753adf8ad2c9dec0a4ef449abe9947704ab8de
${SOURCE_DIR}
)

Expand Down

0 comments on commit fe3db4a

Please sign in to comment.