]> granicus.if.org Git - libjpeg-turbo/commitdiff
Build: Use FILEPATH type for NASM CMake variable
authorDRC <information@libjpeg-turbo.org>
Sat, 19 Dec 2015 20:18:21 +0000 (14:18 -0600)
committerDRC <information@libjpeg-turbo.org>
Sat, 19 Dec 2015 20:18:21 +0000 (14:18 -0600)
This causes cmake-gui to to display the proper file chooser dialog
(as opposed to the directory chooser.)

Fixes #40

simd/CMakeLists.txt

index 25bd290f4738fdc0c2261f12661cb243dbcd702a..b16c467883a432f780f8c5aa74e13ba9c452d86a 100755 (executable)
@@ -1,5 +1,5 @@
 if(NOT DEFINED NASM)
-  set(NASM nasm CACHE PATH "Path to NASM/YASM executable")
+  set(NASM nasm CACHE FILEPATH "Path to NASM/YASM executable")
 endif()
 
 if(SIMD_X86_64)